Skip to content
Open
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
2 changes: 2 additions & 0 deletions deployments/gpu-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ spec:
imagePullPolicy: {{ .Values.operator.imagePullPolicy }}
command: ["gpu-operator"]
args:
{{- if .Values.operator.leaderElection }}
- --leader-elect
{{- end }}
{{- if .Values.operator.logging.develMode }}
- --zap-devel
{{- else }}
Expand Down
2 changes: 2 additions & 0 deletions deployments/gpu-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ operator:
priorityClassName: system-node-critical
runtimeClass: nvidia
use_ocp_driver_toolkit: false
# Enable leader election
leaderElection: true
# cleanup CRD on chart un-install
cleanupCRD: false
# upgrade CRD on chart upgrade, requires --disable-openapi-validation flag
Expand Down