Skip to content

Commit 6a6e03f

Browse files
authored
chore: remove limits (#290)
1 parent 8fa809e commit 6a6e03f

File tree

4 files changed

+0
-48
lines changed

4 files changed

+0
-48
lines changed

charts/quickstart-openshift-backends/templates/backendGo/templates/deployment.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ spec:
3838
- name: FLYWAY_CONNECT_RETRIES
3939
value: "10"
4040
resources:
41-
limits:
42-
cpu: 100m
43-
memory: 250Mi
4441
requests:
4542
cpu: 20m
4643
memory: 150Mi
@@ -83,9 +80,6 @@ spec:
8380
periodSeconds: 30
8481
timeoutSeconds: 5
8582
resources: # this is optional
86-
limits:
87-
cpu: 100m
88-
memory: 250Mi
8983
requests:
9084
cpu: 20m
9185
memory: 150Mi

charts/quickstart-openshift-backends/templates/backendJava/templates/deployment.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ spec:
6262
periodSeconds: 30
6363
timeoutSeconds: 5
6464
resources: # this is optional
65-
limits:
66-
cpu: 50m
67-
memory: 250Mi
6865
requests:
6966
cpu: 20m
7067
memory: 150Mi

charts/quickstart-openshift-backends/templates/backendPy/templates/deployment.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ spec:
3838
- name: FLYWAY_CONNECT_RETRIES
3939
value: "10"
4040
resources:
41-
limits:
42-
cpu: 100m
43-
memory: 250Mi
4441
requests:
4542
cpu: 20m
4643
memory: 150Mi
@@ -88,9 +85,6 @@ spec:
8885
periodSeconds: 30
8986
timeoutSeconds: 5
9087
resources: # this is optional
91-
limits:
92-
cpu: 100m
93-
memory: 250Mi
9488
requests:
9589
cpu: 20m
9690
memory: 150Mi

charts/quickstart-openshift-backends/values.yaml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ backendPy:
3939
#-- the target cpu utilization percentage, is from request cpu and NOT LIMIT CPU.
4040
targetCPUUtilizationPercentage: 80
4141
resources:
42-
limits:
43-
cpu: 50m
44-
memory: 50Mi
4542
requests:
4643
cpu: 50m
4744
memory: 25Mi
@@ -70,9 +67,6 @@ backendGo:
7067
#-- the target cpu utilization percentage, is from request cpu and NOT LIMIT CPU.
7168
targetCPUUtilizationPercentage: 80
7269
resources:
73-
limits:
74-
cpu: 50m
75-
memory: 50Mi
7670
requests:
7771
cpu: 50m
7872
memory: 25Mi
@@ -101,9 +95,6 @@ backendJava:
10195
#-- the target cpu utilization percentage, is from request cpu and NOT LIMIT CPU.
10296
targetCPUUtilizationPercentage: 80
10397
resources:
104-
limits:
105-
cpu: 50m
106-
memory: 50Mi
10798
requests:
10899
cpu: 50m
109100
memory: 25Mi
@@ -139,16 +130,10 @@ crunchy: # enable it for TEST and PROD, for PR based pipelines simply use single
139130
requests:
140131
cpu: 25m
141132
memory: 256Mi
142-
limits:
143-
cpu: 100m
144-
memory: 512Mi
145133
replicaCertCopy:
146134
requests:
147135
cpu: 1m
148136
memory: 32Mi
149-
limits:
150-
cpu: 50m
151-
memory: 64Mi
152137

153138
pgBackRest:
154139
enabled: false
@@ -169,16 +154,10 @@ crunchy: # enable it for TEST and PROD, for PR based pipelines simply use single
169154
requests:
170155
cpu: 1m
171156
memory: 64Mi
172-
limits:
173-
cpu: 50m
174-
memory: 128Mi
175157
sidecars:
176158
requests:
177159
cpu: 1m
178160
memory: 64Mi
179-
limits:
180-
cpu: 50m
181-
memory: 128Mi
182161

183162
patroni:
184163
postgresql:
@@ -197,9 +176,6 @@ crunchy: # enable it for TEST and PROD, for PR based pipelines simply use single
197176
requests:
198177
cpu: 1m
199178
memory: 64Mi
200-
limits:
201-
cpu: 50m
202-
memory: 128Mi
203179

204180
# Postgres Cluster resource values:
205181
pgmonitor:
@@ -209,9 +185,6 @@ crunchy: # enable it for TEST and PROD, for PR based pipelines simply use single
209185
requests:
210186
cpu: 1m
211187
memory: 64Mi
212-
limits:
213-
cpu: 50m
214-
memory: 128Mi
215188

216189
bitnami-pg:
217190
enabled: true
@@ -253,9 +226,6 @@ bitnami-pg:
253226
requests:
254227
cpu: 50m
255228
memory: 150Mi
256-
limits:
257-
cpu: 150m
258-
memory: 250Mi
259229

260230
backup:
261231
enabled: true
@@ -315,9 +285,6 @@ backup:
315285
- name: DATABASE_USER
316286
key: databaseUser
317287
resources:
318-
limits:
319-
cpu: 50m
320-
memory: 256Mi
321288
requests:
322289
cpu: 20m
323290
memory: 128Mi

0 commit comments

Comments
 (0)