From 78d9fee8e5da3adb26e6b94e5e64b6e7f381aa18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20K=C3=B6hler?= Date: Sat, 23 Nov 2019 17:49:29 +0100 Subject: [PATCH] Add hint how to limit resoucre usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Axel Köhler --- deployment/helm/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deployment/helm/README.md b/deployment/helm/README.md index b68da7ad27..13bb0ca483 100644 --- a/deployment/helm/README.md +++ b/deployment/helm/README.md @@ -99,3 +99,13 @@ helm delete eclipse-ditto --purge ```bash kind delete cluster ``` + +### Troubleshooting + +If you experience high resource consumption (either CPU or RAM or both), you can limit the resource usage by specifing resource limits. +This can be done individually for each single component. +Here is an example how to limit CPU to 0.25 Cores and RAM to 512MiB for the `connectivity` service: + +```bash +helm upgrade eclipse-ditto ./eclipse-ditto --install --wait --set connectivity.resources.limits.cpu=0.25 --set connectivity.resources.limits.memory=512Mi +```