diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-12 16:44:56 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-14 13:45:13 +0000 |
commit | 8cbb3d9b964b774b1400df5d909913b669c2a243 (patch) | |
tree | ee3efa1ba9268b223a99cf6822d0b4806d27e89c /kubernetes/aai/components | |
parent | 9468364310a767b4d68f35a94f15e79ff38c5908 (diff) |
[COMMON] Harmonize resource settings, Part 2
Some settings are still wrongly interpreted (e.g. 0.02Gi)
Therefor they are changed to non-floating numbers (e.g. 20Mi)
Issue-ID: OOM-3273
Change-Id: Icc88dead1ac5b1df8629d6adcc438a739e20522e
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/aai/components')
8 files changed, 18 insertions, 18 deletions
diff --git a/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml b/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml index 234718c3ac..1f666ddfcd 100644 --- a/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml @@ -102,10 +102,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" {{ end }} containers: - name: {{ include "common.name" . }} diff --git a/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml b/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml index a36d90407e..7d73876d16 100644 --- a/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml +++ b/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml @@ -77,10 +77,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" {{- end }} containers: - name: {{ include "common.name" . }}-db-backup-job diff --git a/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml b/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml index 7d2504e108..ac40f095cb 100644 --- a/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml +++ b/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml @@ -78,10 +78,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" containers: - name: {{ include "common.name" . }}-job image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} diff --git a/kubernetes/aai/components/aai-graphadmin/templates/job-migration.yaml b/kubernetes/aai/components/aai-graphadmin/templates/job-migration.yaml index 6310f9e0ce..6b7f89f733 100644 --- a/kubernetes/aai/components/aai-graphadmin/templates/job-migration.yaml +++ b/kubernetes/aai/components/aai-graphadmin/templates/job-migration.yaml @@ -83,10 +83,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" - command: - sh args: @@ -238,10 +238,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" {{- end }} containers: - name: {{ include "common.name" . }}-db-backup-job diff --git a/kubernetes/aai/components/aai-resources/templates/deployment.yaml b/kubernetes/aai/components/aai-resources/templates/deployment.yaml index edf63c5eba..1e2880d529 100644 --- a/kubernetes/aai/components/aai-resources/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-resources/templates/deployment.yaml @@ -126,10 +126,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" containers: - name: {{ include "common.name" . }} image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} diff --git a/kubernetes/aai/components/aai-sparky-be/templates/deployment.yaml b/kubernetes/aai/components/aai-sparky-be/templates/deployment.yaml index d9558370d0..1685bc5001 100644 --- a/kubernetes/aai/components/aai-sparky-be/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-sparky-be/templates/deployment.yaml @@ -51,10 +51,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" containers: - name: {{ include "common.name" . }} image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} diff --git a/kubernetes/aai/components/aai-traversal/templates/deployment.yaml b/kubernetes/aai/components/aai-traversal/templates/deployment.yaml index 3171d4c534..d6e49acc4b 100644 --- a/kubernetes/aai/components/aai-traversal/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-traversal/templates/deployment.yaml @@ -145,10 +145,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" containers: - name: {{ include "common.name" . }} image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} diff --git a/kubernetes/aai/components/aai-traversal/templates/job.yaml b/kubernetes/aai/components/aai-traversal/templates/job.yaml index 2d7daf1414..ae8bd85a37 100644 --- a/kubernetes/aai/components/aai-traversal/templates/job.yaml +++ b/kubernetes/aai/components/aai-traversal/templates/job.yaml @@ -61,10 +61,10 @@ spec: resources: limits: cpu: "100m" - memory: "0.5Gi" + memory: "500Mi" requests: cpu: "3m" - memory: "0.02Gi" + memory: "20Mi" containers: - name: {{ include "common.name" . }}-job image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} |