From 328f0a86064c905db504c6ae2d104f6d68e4e06a Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:14:07 -0800 Subject: [PATCH] chore: remove limits --- charts/app/templates/frontend/templates/deployment.yaml | 7 ++----- charts/app/templates/rctool/templates/deployment.yaml | 5 +---- frontend/openshift.deploy.yml | 3 --- frontend/openshift.nginx.deploy.yml | 3 --- 4 files changed, 3 insertions(+), 15 deletions(-) diff --git a/charts/app/templates/frontend/templates/deployment.yaml b/charts/app/templates/frontend/templates/deployment.yaml index 9b9b98c..af41a08 100644 --- a/charts/app/templates/frontend/templates/deployment.yaml +++ b/charts/app/templates/frontend/templates/deployment.yaml @@ -64,12 +64,9 @@ spec: periodSeconds: 30 timeoutSeconds: 5 resources: - limits: - cpu: 50m - memory: 60Mi requests: - cpu: 10m - memory: 20Mi + cpu: 20m + memory: 50Mi affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: diff --git a/charts/app/templates/rctool/templates/deployment.yaml b/charts/app/templates/rctool/templates/deployment.yaml index 7a83fc5..5aea288 100644 --- a/charts/app/templates/rctool/templates/deployment.yaml +++ b/charts/app/templates/rctool/templates/deployment.yaml @@ -84,12 +84,9 @@ spec: periodSeconds: 60 timeoutSeconds: 5 resources: # this is optional - limits: - cpu: 250m - memory: 500Mi requests: cpu: 50m - memory: 250Mi + memory: 350Mi {{- with .Values.rctool.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/frontend/openshift.deploy.yml b/frontend/openshift.deploy.yml index 2313c9d..bbbcd28 100644 --- a/frontend/openshift.deploy.yml +++ b/frontend/openshift.deploy.yml @@ -130,9 +130,6 @@ objects: requests: cpu: ${CPU_REQUEST} memory: ${MEMORY_REQUEST} - limits: - cpu: ${CPU_LIMIT} - memory: ${MEMORY_LIMIT} readinessProbe: httpGet: path: /rctool diff --git a/frontend/openshift.nginx.deploy.yml b/frontend/openshift.nginx.deploy.yml index 6de0d5f..66ccf7d 100644 --- a/frontend/openshift.nginx.deploy.yml +++ b/frontend/openshift.nginx.deploy.yml @@ -97,9 +97,6 @@ objects: requests: cpu: ${CPU_REQUEST} memory: ${MEMORY_REQUEST} - limits: - cpu: ${CPU_LIMIT} - memory: ${MEMORY_LIMIT} readinessProbe: httpGet: path: /rctool