Skip to content

Commit be18663

Browse files
authored
chore: remove limits (#228)
1 parent 0d571f6 commit be18663

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

charts/app/templates/frontend/templates/deployment.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,9 @@ spec:
6464
periodSeconds: 30
6565
timeoutSeconds: 5
6666
resources:
67-
limits:
68-
cpu: 50m
69-
memory: 60Mi
7067
requests:
71-
cpu: 10m
72-
memory: 20Mi
68+
cpu: 20m
69+
memory: 50Mi
7370
affinity:
7471
podAntiAffinity:
7572
requiredDuringSchedulingIgnoredDuringExecution:

charts/app/templates/rctool/templates/deployment.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,9 @@ spec:
8484
periodSeconds: 60
8585
timeoutSeconds: 5
8686
resources: # this is optional
87-
limits:
88-
cpu: 250m
89-
memory: 500Mi
9087
requests:
9188
cpu: 50m
92-
memory: 250Mi
89+
memory: 350Mi
9390
{{- with .Values.rctool.nodeSelector }}
9491
nodeSelector:
9592
{{- toYaml . | nindent 8 }}

frontend/openshift.deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ objects:
130130
requests:
131131
cpu: ${CPU_REQUEST}
132132
memory: ${MEMORY_REQUEST}
133-
limits:
134-
cpu: ${CPU_LIMIT}
135-
memory: ${MEMORY_LIMIT}
136133
readinessProbe:
137134
httpGet:
138135
path: /rctool

frontend/openshift.nginx.deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ objects:
9797
requests:
9898
cpu: ${CPU_REQUEST}
9999
memory: ${MEMORY_REQUEST}
100-
limits:
101-
cpu: ${CPU_LIMIT}
102-
memory: ${MEMORY_LIMIT}
103100
readinessProbe:
104101
httpGet:
105102
path: /rctool

0 commit comments

Comments
 (0)