Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions charts/aws-efs-csi-driver/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,34 @@ spec:
{{- if hasKey .Values.controller "timeout" }}
- --timeout={{ .Values.controller.timeout }}
{{- end }}
{{- if hasKey .Values.controller "workerThreads" }}
- --worker-threads={{ .Values.controller.workerThreads }}
{{- end }}
{{- if hasKey .Values.controller "timeout" }}
- --timeout={{ .Values.controller.timeout }}
{{- end }}
{{- if .Values.controller.metrics.enabled }}
- --metrics-address=:{{ .Values.controller.metrics.port }}
- --metrics-path={{ .Values.controller.metrics.path }}
{{- end }}
{{- if .Values.sidecars.csiProvisioner.additionalArgs }}
{{- range .Values.sidecars.csiProvisioner.additionalArgs }}
- {{ . }}
{{- end }}
{{- end }}
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
{{- if .Values.controller.metrics.enabled }}
ports:
- name: metrics
containerPort: {{ .Values.controller.metrics.port }}
protocol: TCP
{{- end }}
{{- with .Values.sidecars.csiProvisioner.resources }}
{{- with default .Values.controller.resources .Values.sidecars.csiProvisioner.resources }}
resources: {{ toYaml . | nindent 12 }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ controller:
privileged: true
leaderElectionRenewDeadline: 10s
leaderElectionLeaseDuration: 15s
# Enable metrics for csi-provisioner
metrics:
enabled: false
port: 8080
path: /metrics

# Timeout for Create/DeleteVolume calls to Controller. We recommend increasing for high concurrency workloads
timeout: 15s
# Number of concurrent threads controller will handle at once.
Expand Down