From 00b43f4c1115f0d7914d14ac3534925397ea0edc Mon Sep 17 00:00:00 2001 From: Kavitha Thulasiraman Date: Thu, 19 Aug 2021 15:18:22 +0000 Subject: [PATCH] Draft add resource limit --- chart/values.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/chart/values.yaml b/chart/values.yaml index f0c0dd6..c65467b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -122,8 +122,14 @@ initContainers: # securityContext: {} # We allow the init containers to have a separate resources declaration because # the initContainer does not take as much resources. - resources: {} - + resources: + limits: + memory: 2Gi + cpu: 250m + requests: + memory: 2Gi + cpu: 250m + ## Provide a secret containing one or more certificate files in the keys that will be added to cacerts ## The cacerts file will be set via SONARQUBE_WEB_JVM_OPTS and SONAR_CE_JAVAOPTS ## -- GitLab