summaryrefslogtreecommitdiffstats
path: root/kubernetes/holmes/components
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-06-15 14:34:34 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-06-15 14:36:21 +0200
commitbb28a945181ef9b62f50dcdb494f6f455f97acf3 (patch)
tree08e11aa0fda84da13a55c4ed7f05605e275f1650 /kubernetes/holmes/components
parentc50f0892fc601eb3d0e237c04b3f54019de513b1 (diff)
[HOLMES] Correct resources settings for holmes
Add the resources config to rule management Correct the resources values for proper startup Issue-ID: OOM-3188 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ieadc080bdc438e983fe6e70cb6f0018b8be8d7ef
Diffstat (limited to 'kubernetes/holmes/components')
-rw-r--r--kubernetes/holmes/components/holmes-engine-mgmt/values.yaml12
-rw-r--r--kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml1
-rw-r--r--kubernetes/holmes/components/holmes-rule-mgmt/values.yaml14
3 files changed, 14 insertions, 13 deletions
diff --git a/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml b/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml
index 028ca8d71e..17e51d76ce 100644
--- a/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml
+++ b/kubernetes/holmes/components/holmes-engine-mgmt/values.yaml
@@ -108,17 +108,17 @@ readiness:
resources:
small:
limits:
- cpu: 500m
- memory: 1Gi
+ cpu: 1
+ memory: 2Gi
requests:
- cpu: 250m
- memory: 500Mi
+ cpu: 0.5
+ memory: 1Gi
large:
limits:
- cpu: 500m
+ cpu: 1
memory: 2Gi
requests:
- cpu: 250m
+ cpu: 1
memory: 1Gi
unlimited: {}
diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml
index db0eb16092..f24d8eab65 100644
--- a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml
+++ b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml
@@ -68,6 +68,7 @@ spec:
- name: {{ include "common.name" . }}
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ resources: {{ include "common.resources" . | nindent 10 }}
ports: {{ include "common.containerPorts" . | nindent 8 }}
volumeMounts:
- name: {{ include "common.fullname" . }}-env-config
diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml
index d91bb1eeeb..1553d66411 100644
--- a/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml
+++ b/kubernetes/holmes/components/holmes-rule-mgmt/values.yaml
@@ -120,18 +120,18 @@ readiness:
resources:
small:
limits:
- cpu: 250m
- memory: 1024Mi
+ cpu: 1
+ memory: 1Gi
requests:
- cpu: 250m
- memory: 256Mi
+ cpu: 0.5
+ memory: 1Gi
large:
limits:
- cpu: 500m
+ cpu: 1
memory: 2Gi
requests:
- cpu: 500m
- memory: 512Mi
+ cpu: 0.5
+ memory: 1Gi
unlimited: {}
readinessCheck: