Skip to content

Commit

Permalink
chore: remove limits
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Dec 24, 2024
1 parent 0d571f6 commit 328f0a8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
7 changes: 2 additions & 5 deletions charts/app/templates/frontend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 1 addition & 4 deletions charts/app/templates/rctool/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 0 additions & 3 deletions frontend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ objects:
requests:
cpu: ${CPU_REQUEST}
memory: ${MEMORY_REQUEST}
limits:
cpu: ${CPU_LIMIT}
memory: ${MEMORY_LIMIT}
readinessProbe:
httpGet:
path: /rctool
Expand Down
3 changes: 0 additions & 3 deletions frontend/openshift.nginx.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ objects:
requests:
cpu: ${CPU_REQUEST}
memory: ${MEMORY_REQUEST}
limits:
cpu: ${CPU_LIMIT}
memory: ${MEMORY_LIMIT}
readinessProbe:
httpGet:
path: /rctool
Expand Down

0 comments on commit 328f0a8

Please sign in to comment.