Skip to content

Commit 1e421a5

Browse files
authored
K8SPG-675 add missing resources.requests options (#1211)
1 parent 8f9fb6f commit 1e421a5

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

deploy/cr.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ spec:
1616
# limits:
1717
# cpu: 2.0
1818
# memory: 4Gi
19+
# requests:
20+
# cpu: 1.0
21+
# memory: 3Gi
1922
# containerSecurityContext:
2023
# runAsUser: 1001
2124
# runAsGroup: 1001
@@ -216,12 +219,18 @@ spec:
216219
# limits:
217220
# cpu: 2.0
218221
# memory: 4Gi
222+
# requests:
223+
# cpu: 1.0
224+
# memory: 3Gi
219225
# containers:
220226
# replicaCertCopy:
221227
# resources:
222228
# limits:
223229
# cpu: 200m
224230
# memory: 128Mi
231+
# requests:
232+
# cpu: 100m
233+
# memory: 120Mi
225234
# sidecars:
226235
# - name: testcontainer
227236
# image: busybox:latest
@@ -301,12 +310,18 @@ spec:
301310
# limits:
302311
# cpu: 200m
303312
# memory: 128Mi
313+
# requests:
314+
# cpu: 150m
315+
# memory: 120Mi
304316
# containers:
305317
# pgbouncerConfig:
306318
# resources:
307319
# limits:
308320
# cpu: 200m
309321
# memory: 128Mi
322+
# requests:
323+
# cpu: 150m
324+
# memory: 120Mi
310325
#
311326
# expose:
312327
# annotations:
@@ -386,6 +401,9 @@ spec:
386401
# limits:
387402
# cpu: 2.0
388403
# memory: 4Gi
404+
# requests:
405+
# cpu: 1.0
406+
# memory: 3Gi
389407
# containerSecurityContext:
390408
# runAsUser: 1001
391409
# runAsGroup: 1001
@@ -412,11 +430,17 @@ spec:
412430
# limits:
413431
# cpu: 200m
414432
# memory: 128Mi
433+
# requests:
434+
# cpu: 150m
435+
# memory: 120Mi
415436
# pgbackrestConfig:
416437
# resources:
417438
# limits:
418439
# cpu: 200m
419440
# memory: 128Mi
441+
# requests:
442+
# cpu: 150m
443+
# memory: 120Mi
420444
#
421445
# configuration:
422446
# - secret:
@@ -430,6 +454,9 @@ spec:
430454
# limits:
431455
# cpu: 200m
432456
# memory: 128Mi
457+
# requests:
458+
# cpu: 150m
459+
# memory: 120Mi
433460
# tolerations:
434461
# - effect: NoSchedule
435462
# key: role
@@ -470,6 +497,9 @@ spec:
470497
# limits:
471498
# cpu: 200m
472499
# memory: 128Mi
500+
# requests:
501+
# cpu: 150m
502+
# memory: 120Mi
473503
affinity:
474504
podAntiAffinity:
475505
preferredDuringSchedulingIgnoredDuringExecution:
@@ -559,6 +589,13 @@ spec:
559589
# imagePullPolicy: IfNotPresent
560590
secret: cluster1-pmm-secret
561591
serverHost: monitoring-service
592+
# resources:
593+
# limits:
594+
# memory: 200M
595+
# cpu: 350m
596+
# requests:
597+
# memory: 150M
598+
# cpu: 300m
562599
# customClusterName: "<string>"
563600
# postgresParams: "<string>"
564601
# querySource: pgstatmonitor

0 commit comments

Comments
 (0)