aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-06-16 07:12:03 +0000
committerGerrit Code Review <gerrit@onap.org>2023-06-16 07:12:03 +0000
commit7b90e89f980f48dda17045a3ed6f740e4d4399b1 (patch)
treee7d31aac2bed23322be732684789117eda05fb25
parent0ac5112480c35720114df7440885db0336691364 (diff)
parentbb28a945181ef9b62f50dcdb494f6f455f97acf3 (diff)
Merge "[HOLMES] Correct resources settings for holmes"
-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: