From 9db3de013b0b2f937fb4434a1c09158869ec67c1 Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Fri, 23 Feb 2024 19:59:57 -0500 Subject: [PATCH] Decrease resources of ChRIS_ui --- docs/run/chrisui_openshift.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/run/chrisui_openshift.md b/docs/run/chrisui_openshift.md index d1c7406..91d449b 100644 --- a/docs/run/chrisui_openshift.md +++ b/docs/run/chrisui_openshift.md @@ -48,3 +48,11 @@ To create a HTTPS route on a custom domain on the NERC, see [here](/docs/interna ### 5. Add a GitHub Webhook for automatic updates More information: https://docs.openshift.com/container-platform/4.11/cicd/builds/triggering-builds-build-hooks.html#builds-webhook-triggers_triggering-builds-build-hooks + +### 6. (Optional) Reconfigure the Deployment + +Decrease memory and CPU limit. It's just an HTTP server, no need for much. + +```shell +oc set resources deployment chrisui --limits=cpu=1,memory=3814Mi --requests=cpu=1,memory=3814Mi +```