Skip to content

Commit 0654673

Browse files
committed
Adjust NFD for CAPI scenario
1 parent a72bf99 commit 0654673

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed
Binary file not shown.

packs/nvidia-dpf-prereqs-25.7.0/charts/node-feature-discovery/templates/worker.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ spec:
2828
{{- toYaml . | nindent 8 }}
2929
{{- end }}
3030
spec:
31-
dnsPolicy: ClusterFirstWithHostNet
31+
{{- with .Values.worker.dnsPolicy }}
32+
dnsPolicy: {{ . | default "ClusterFirstWithHostNet" }}
33+
{{- end }}
3234
{{- with .Values.priorityClassName }}
3335
priorityClassName: {{ . }}
3436
{{- end }}

packs/nvidia-dpf-prereqs-25.7.0/charts/node-feature-discovery/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ worker:
173173
extraArgs: []
174174
extraEnvs: []
175175
hostNetwork: false
176+
dnsPolicy: ClusterFirstWithHostNet
176177
config: ### <NFD-WORKER-CONF-START-DO-NOT-REMOVE>
177178
#core:
178179
# labelWhiteList:

packs/nvidia-dpf-prereqs-25.7.0/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ charts:
5151
worker:
5252
enable: true
5353
hostNetwork: true
54+
# Change dnsPolicy to "Default" when deploying on MAAS
55+
dnsPolicy: ClusterFirstWithHostNet
5456
tolerations:
5557
- key: node.kubernetes.io/not-ready
5658
operator: Exists

0 commit comments

Comments
 (0)