Skip to content

Commit aa04275

Browse files
authored
deploy(helm): add generous resource limits to eosxd-csi pods (#24)
1 parent 648e5c8 commit aa04275

File tree

1 file changed

+37
-6
lines changed

1 file changed

+37
-6
lines changed

deployments/helm/eosxd-csi/values.yaml

+37-6
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,12 @@ nodeplugin:
191191
repository: registry.cern.ch/kubernetes/eosxd-csi
192192
tag: "" # If no tag specified default to Chart AppVersion.
193193
pullPolicy: IfNotPresent
194-
resources: {}
194+
# Resource usage will vary based on your cluster size, EOS usage and number
195+
# of repositories mounted, as such you should adjust accordingly.
196+
resources:
197+
limits:
198+
cpu: 50m
199+
memory: 64Mi
195200
# Extra volume mounts to append to nodeplugin's
196201
# Pod.spec.containers[name="nodeplugin"].volumeMounts.
197202
extraVolumeMounts:
@@ -204,7 +209,12 @@ nodeplugin:
204209
repository: registry.cern.ch/kubernetes/eosxd-csi
205210
tag: "" # If no tag specified default to Chart AppVersion.
206211
pullPolicy: IfNotPresent
207-
resources: {}
212+
# Resource usage will vary based on your cluster size, EOS usage and number
213+
# of repositories mounted, as such you should adjust accordingly.
214+
resources:
215+
limits:
216+
cpu: 200m
217+
memory: 1Gi
208218
# Extra volume mounts to append to nodeplugin's
209219
# Pod.spec.containers[name="automount"].volumeMounts.
210220
extraVolumeMounts:
@@ -225,7 +235,12 @@ nodeplugin:
225235
repository: registry.cern.ch/kubernetes/eosxd-csi
226236
tag: "" # If no tag specified default to Chart AppVersion.
227237
pullPolicy: IfNotPresent
228-
resources: {}
238+
# Resource usage will vary based on your cluster size, EOS usage and number
239+
# of repositories mounted, as such you should adjust accordingly.
240+
resources:
241+
limits:
242+
cpu: 50m
243+
memory: 64Mi
229244
# Extra volume mounts to append to nodeplugin's
230245
# Pod.spec.containers[name="mountreconciler"].volumeMounts.
231246
extraVolumeMounts:
@@ -238,7 +253,12 @@ nodeplugin:
238253
repository: registry.k8s.io/sig-storage/csi-node-driver-registrar
239254
tag: v2.10.1
240255
pullPolicy: IfNotPresent
241-
resources: {}
256+
# Resource usage will vary based on your cluster size, EOS usage and number
257+
# of repositories mounted, as such you should adjust accordingly.
258+
resources:
259+
limits:
260+
cpu: 50m
261+
memory: 64Mi
242262

243263
# DaemonSet update strategy.
244264
updateStrategySpec:
@@ -298,7 +318,12 @@ controllerplugin:
298318
repository: registry.cern.ch/kubernetes/eosxd-csi
299319
tag: "" # If no tag specified default to Chart AppVersion.
300320
pullPolicy: IfNotPresent
301-
resources: {}
321+
# Resource usage will vary based on your cluster size, EOS usage and number
322+
# of repositories mounted, as such you should adjust accordingly.
323+
resources:
324+
limits:
325+
cpu: 50m
326+
memory: 64Mi
302327
extraVolumeMounts:
303328
- name: eos-csi-dir-etc-krb5-conf
304329
mountPath: /etc/krb5.conf.d
@@ -309,7 +334,12 @@ controllerplugin:
309334
repository: registry.k8s.io/sig-storage/csi-provisioner
310335
tag: v4.0.1
311336
pullPolicy: IfNotPresent
312-
resources: {}
337+
# Resource usage will vary based on your cluster size, EOS usage and number
338+
# of repositories mounted, as such you should adjust accordingly.
339+
resources:
340+
limits:
341+
cpu: 50m
342+
memory: 64Mi
313343

314344
# Deployment update strategy.
315345
deploymentStrategySpec:
@@ -378,6 +408,7 @@ automountHostPath: /var/eos
378408

379409
# Number of seconds to wait for automount daemon to start up before exiting.
380410
automountDaemonStartupTimeout: 10
411+
381412
# Number of seconds of idle time after which an autofs-managed eosxd mount will
382413
# be unmounted. '0' means never unmount, '-1' leaves automount default option.
383414
automountDaemonUnmountTimeout: 600

0 commit comments

Comments
 (0)