Skip to content

Commit 1716aaf

Browse files
committed
Remove default CPU limits for CSI driver containers
Some of the work performed by the CSI drivers is very bursty (e.g. decrypting LUKS volumes), and took much longer than expected with the fairly aggressive CPU limits that were configured. This commit completely removes the CPU limits, since they're not really necessary for a CSI driver.
1 parent 7a7e953 commit 1716aaf

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

class/defaults.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,24 @@ parameters:
1515
requests:
1616
cpu: 20m
1717
memory: 32Mi
18-
limits:
19-
cpu: 100m
2018
csi-attacher:
2119
requests:
2220
cpu: 20m
2321
memory: 32Mi
24-
limits:
25-
cpu: 100m
2622
csi-resizer:
2723
requests:
2824
cpu: 20m
2925
memory: 32Mi
30-
limits:
31-
cpu: 100m
3226
csi-cloudscale-plugin:
3327
requests:
3428
cpu: 20m
3529
memory: 32Mi
36-
limits:
37-
cpu: 100m
3830
csi_driver:
3931
csi-node-driver-registrar:
4032
requests:
4133
cpu: 20m
4234
memory: 32Mi
43-
limits:
44-
cpu: 100m
4535
csi-cloudscale-plugin:
4636
requests:
4737
cpu: 20m
4838
memory: 32Mi
49-
limits:
50-
cpu: 100m

tests/golden/defaults/csi-cloudscale/csi-cloudscale/10_deployments.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ spec:
5050
- rm -rf /registration/csi.cloudscale.ch /registration/csi.cloudscale.ch-reg.sock
5151
name: csi-node-driver-registrar
5252
resources:
53-
limits:
54-
cpu: 100m
5553
requests:
5654
memory: 32Mi
5755
volumeMounts:
@@ -152,8 +150,6 @@ spec:
152150
imagePullPolicy: IfNotPresent
153151
name: csi-provisioner
154152
resources:
155-
limits:
156-
cpu: 100m
157153
requests:
158154
cpu: 20m
159155
memory: 32Mi
@@ -170,8 +166,6 @@ spec:
170166
imagePullPolicy: IfNotPresent
171167
name: csi-attacher
172168
resources:
173-
limits:
174-
cpu: 100m
175169
requests:
176170
cpu: 20m
177171
memory: 32Mi
@@ -190,8 +184,6 @@ spec:
190184
imagePullPolicy: IfNotPresent
191185
name: csi-resizer
192186
resources:
193-
limits:
194-
cpu: 100m
195187
requests:
196188
cpu: 20m
197189
memory: 32Mi
@@ -216,7 +208,6 @@ spec:
216208
name: csi-cloudscale-plugin
217209
resources:
218210
limits:
219-
cpu: 100m
220211
memory: 1Gi
221212
requests:
222213
cpu: 20m

0 commit comments

Comments
 (0)