Skip to content

Commit b2ff024

Browse files
author
Matthieu
committed
[kubernetes] Add CPU/memory limits to csi-resizer sidecar
The csi-resizer container was the only sidecar in the kcsi-controller Deployment without resources.limits, triggering a 'no CPU limit' conformance warning. Align it with the other six CSI sidecars in the same Deployment (limits 512m/512Mi, requests 125m/128Mi) so capacity planning and audits stay uniform. Signed-off-by: Matthieu <[email protected]>
1 parent 99e7070 commit b2ff024

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎packages/apps/kubernetes/templates/csi/deploy.yaml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,12 @@ spec:
224224
name: kubeconfig
225225
readOnly: true
226226
resources:
227+
limits:
228+
cpu: 512m
229+
memory: 512Mi
227230
requests:
228-
cpu: 10m
229-
memory: 20Mi
231+
cpu: 125m
232+
memory: 128Mi
230233
securityContext:
231234
capabilities:
232235
drop:

0 commit comments

Comments
 (0)