Skip to content

Commit ff7aeea

Browse files
committed
Helm chart add worker daemonset updateStrategy template
Apply suggested changes on worker updateStrategy
1 parent 5b20c77 commit ff7aeea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

deployment/helm/node-feature-discovery/templates/worker.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ metadata:
1313
{{- end }}
1414
spec:
1515
revisionHistoryLimit: {{ .Values.worker.revisionHistoryLimit }}
16+
{{- with .Values.worker.updateStrategy }}
17+
updateStrategy:
18+
{{- toYaml . | nindent 4 }}
19+
{{- end}}
1620
selector:
1721
matchLabels:
1822
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}

deployment/helm/node-feature-discovery/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,12 @@ worker:
469469

470470
priorityClassName: ""
471471

472+
updateStrategy: {}
473+
# type: RollingUpdate
474+
# rollingUpdate:
475+
# maxSurge: 0
476+
# maxUnavailable: "10%"
477+
472478
topologyUpdater:
473479
config: ### <NFD-TOPOLOGY-UPDATER-CONF-START-DO-NOT-REMOVE>
474480
## key = node name, value = list of resources to be excluded.

0 commit comments

Comments
 (0)