Skip to content

Commit afab347

Browse files
author
Matthieu
committed
[cert-manager] Set resources requests/limits on cert-manager pods
The upstream cert-manager chart ships with resources: {} for all four workloads (controller, webhook, cainjector, startupapicheck), which triggers 'no CPU limit' conformance warnings on every pod. Override the package values.yaml to set sane requests and limits sized to each component's role: controller is the most loaded, webhook and cainjector handle short-lived admission/injection work, and startupapicheck is a one-shot Job. Signed-off-by: Matthieu <[email protected]>
1 parent 99e7070 commit afab347

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
cert-manager:
2+
resources:
3+
limits:
4+
cpu: 500m
5+
memory: 512Mi
6+
requests:
7+
cpu: 50m
8+
memory: 128Mi
9+
webhook:
10+
resources:
11+
limits:
12+
cpu: 200m
13+
memory: 128Mi
14+
requests:
15+
cpu: 10m
16+
memory: 32Mi
17+
cainjector:
18+
resources:
19+
limits:
20+
cpu: 200m
21+
memory: 128Mi
22+
requests:
23+
cpu: 10m
24+
memory: 32Mi
25+
startupapicheck:
26+
resources:
27+
limits:
28+
cpu: 100m
29+
memory: 64Mi
30+
requests:
31+
cpu: 10m
32+
memory: 16Mi

0 commit comments

Comments
 (0)