Skip to content

Commit

Permalink
fix(controller): limit worker-threads to 1 per CSI sidecar
Browse files Browse the repository at this point in the history
  • Loading branch information
paullaffitte committed Nov 16, 2020
1 parent baefc12 commit bf33878
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/dothill-provisioner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ spec:
image: {{ .Values.csiProvisioner.image.repository }}:{{ .Values.csiProvisioner.image.tag }}
args:
- --csi-address=/csi/csi.sock
- --worker-threads=1
- --timeout={{ .Values.csiProvisioner.timeout }}
{{- include "dothill.extraArgs" .Values.csiProvisioner | indent 10 }}
imagePullPolicy: IfNotPresent
volumeMounts:
Expand All @@ -44,6 +46,8 @@ spec:
image: {{ .Values.csiAttacher.image.repository }}:{{ .Values.csiAttacher.image.tag }}
args:
- --csi-address=/csi/csi.sock
- --worker-threads=1
- --timeout={{ .Values.csiAttacher.timeout }}
{{- include "dothill.extraArgs" .Values.csiAttacher | indent 10 }}
imagePullPolicy: IfNotPresent
volumeMounts:
Expand Down
2 changes: 2 additions & 0 deletions helm/dothill-provisioner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ csiProvisioner:
image:
repository: k8s.gcr.io/sig-storage/csi-provisioner
tag: v1.6.1
timeout: 30s

csiAttacher:
image:
repository: k8s.gcr.io/sig-storage/csi-attacher
tag: v2.2.0
timeout: 30s

csiNodeRegistrar:
extraArgs:
Expand Down

0 comments on commit bf33878

Please sign in to comment.