Skip to content

Commit 17c0808

Browse files
authored
Merge pull request #2629 from NVIDIA/bump-nfd
bump node-feature-discovery to v0.19.0
2 parents fd0a590 + c700a61 commit 17c0808

19 files changed

Lines changed: 5999 additions & 117 deletions
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: node-feature-discovery
33
repository: oci://registry.k8s.io/nfd/charts
4-
version: 0.18.3
5-
digest: sha256:1bce3b80da1e6d47a0befbaa6a2f758aeac6d20382e900f0c301f45020afbebc
6-
generated: "2026-01-23T15:08:56.617442-08:00"
4+
version: 0.19.0
5+
digest: sha256:74a6bc356f75fdeef2541cb01b8fd49b40daff296b26b44e077ff70d4f2f9fad
6+
generated: "2026-07-13T08:59:51.650411-07:00"

deployments/gpu-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ keywords:
1919

2020
dependencies:
2121
- name: node-feature-discovery
22-
version: 0.18.3
22+
version: 0.19.0
2323
repository: oci://registry.k8s.io/nfd/charts
2424
condition: nfd.enabled

deployments/gpu-operator/charts/node-feature-discovery/.helmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@
2121
.idea/
2222
*.tmproj
2323
.vscode/
24+
# Sources for autogeneration
25+
README.md.gotmpl
26+
_metadata.gotmpl
27+
_metadata-site.gotmpl
28+
_templates.gotmpl
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Configuration file for https://github.com/losisin/helm-values-schema-json
2+
values:
3+
- values.yaml
4+
output: values.schema.json
5+
k8sSchemaVersion: "v1.34.1"
6+
useHelmDocs: true
7+
# Bundle external $ref schemas into $defs to support air-gapped environments
8+
# See: https://github.com/kubernetes-sigs/node-feature-discovery/issues/2398
9+
bundle: true
10+
bundleWithoutID: true
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
apiVersion: v2
2-
appVersion: v0.18.3
3-
description: 'Detects hardware features available on each node in a Kubernetes cluster,
4-
and advertises those features using node labels. '
2+
appVersion: v0.19.0
3+
description: 'Node Feature Discovery (NFD) is a Kubernetes add-on for detecting hardware
4+
features and system configuration. Detected features are advertised as node labels.
5+
NFD provides flexible configuration and extension points for a wide range of vendor
6+
and application specific node labeling needs. '
57
home: https://github.com/kubernetes-sigs/node-feature-discovery
6-
icon: https://kubernetes-sigs.github.io/node-feature-discovery/v0.18/assets/images/nfd/favicon.svg
8+
icon: https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/assets/images/nfd/favicon.svg
79
keywords:
810
- feature-discovery
911
- feature-detection
@@ -12,4 +14,4 @@ name: node-feature-discovery
1214
sources:
1315
- https://github.com/kubernetes-sigs/node-feature-discovery
1416
type: application
15-
version: 0.18.3
17+
version: 0.19.0

deployments/gpu-operator/charts/node-feature-discovery/README.md

Lines changed: 388 additions & 4 deletions
Large diffs are not rendered by default.

deployments/gpu-operator/charts/node-feature-discovery/templates/clusterrole.yaml

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,25 @@ rules:
5757
- update
5858
{{- end }}
5959

60+
{{- if and .Values.worker.enable .Values.worker.rbac.create }}
61+
{{- if has "node" .Values.worker.ownerRefs }}
62+
---
63+
apiVersion: rbac.authorization.k8s.io/v1
64+
kind: ClusterRole
65+
metadata:
66+
name: {{ include "node-feature-discovery.fullname" . }}-worker
67+
labels:
68+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
69+
rules:
70+
- apiGroups:
71+
- ""
72+
resources:
73+
- nodes
74+
verbs:
75+
- get
76+
{{- end }}
77+
{{- end }}
78+
6079
{{- if and .Values.topologyUpdater.enable .Values.topologyUpdater.rbac.create }}
6180
---
6281
apiVersion: rbac.authorization.k8s.io/v1
@@ -82,7 +101,7 @@ rules:
82101
- apiGroups:
83102
- ""
84103
resources:
85-
- nodes/proxy
104+
- nodes/configz
86105
verbs:
87106
- get
88107
- apiGroups:
@@ -91,6 +110,8 @@ rules:
91110
- pods
92111
verbs:
93112
- get
113+
- list
114+
- watch
94115
- apiGroups:
95116
- topology.node.k8s.io
96117
resources:
@@ -99,6 +120,14 @@ rules:
99120
- create
100121
- get
101122
- update
123+
- apiGroups:
124+
- apiextensions.k8s.io
125+
resources:
126+
- customresourcedefinitions
127+
verbs:
128+
- get
129+
- list
130+
- watch
102131
{{- end }}
103132

104133
{{- if and .Values.gc.enable .Values.gc.rbac.create }}
@@ -117,12 +146,6 @@ rules:
117146
verbs:
118147
- list
119148
- watch
120-
- apiGroups:
121-
- ""
122-
resources:
123-
- nodes/proxy
124-
verbs:
125-
- get
126149
- apiGroups:
127150
- topology.node.k8s.io
128151
resources:

deployments/gpu-operator/charts/node-feature-discovery/templates/clusterrolebinding.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,26 @@ subjects:
1515
namespace: {{ include "node-feature-discovery.namespace" . }}
1616
{{- end }}
1717

18+
{{- if and .Values.worker.enable .Values.worker.rbac.create }}
19+
{{- if has "node" .Values.worker.ownerRefs }}
20+
---
21+
apiVersion: rbac.authorization.k8s.io/v1
22+
kind: ClusterRoleBinding
23+
metadata:
24+
name: {{ include "node-feature-discovery.fullname" . }}-worker
25+
labels:
26+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
27+
roleRef:
28+
apiGroup: rbac.authorization.k8s.io
29+
kind: ClusterRole
30+
name: {{ include "node-feature-discovery.fullname" . }}-worker
31+
subjects:
32+
- kind: ServiceAccount
33+
name: {{ include "node-feature-discovery.worker.serviceAccountName" . }}
34+
namespace: {{ include "node-feature-discovery.namespace" . }}
35+
{{- end }}
36+
{{- end }}
37+
1838
{{- if and .Values.topologyUpdater.enable .Values.topologyUpdater.rbac.create }}
1939
---
2040
apiVersion: rbac.authorization.k8s.io/v1
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{- if .Values.master.networkPolicy.enabled }}
2+
apiVersion: networking.k8s.io/v1
3+
kind: NetworkPolicy
4+
metadata:
5+
name: {{ template "node-feature-discovery.fullname" . }}-master-network-policy
6+
namespace: {{ include "node-feature-discovery.namespace" . }}
7+
labels:
8+
{{- include "node-feature-discovery.labels" . | nindent 4 }}
9+
role: master
10+
spec:
11+
egress:
12+
{{- with .Values.master.networkPolicy.egress }}
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
ingress:
16+
{{- with .Values.master.networkPolicy.ingress }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
19+
podSelector:
20+
matchLabels:
21+
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
22+
role: master
23+
policyTypes:
24+
- Egress
25+
- Ingress
26+
{{- end }}

deployments/gpu-operator/charts/node-feature-discovery/templates/master.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,16 @@ spec:
2222
metadata:
2323
labels:
2424
{{- include "node-feature-discovery.selectorLabels" . | nindent 8 }}
25+
{{- with .Values.master.labels }}
26+
{{- toYaml . | nindent 8 }}
27+
{{- end }}
2528
role: master
2629
annotations:
30+
{{- if .Values.checksumValuesOnly }}
31+
checksum/config: {{ .Values.master.config | toYaml | sha256sum }}
32+
{{- else }}
2733
checksum/config: {{ include (print $.Template.BasePath "/nfd-master-conf.yaml") . | sha256sum }}
34+
{{- end }}
2835
{{- with .Values.master.annotations }}
2936
{{- toYaml . | nindent 8 }}
3037
{{- end }}
@@ -39,6 +46,13 @@ spec:
3946
securityContext:
4047
{{- toYaml .Values.master.podSecurityContext | nindent 8 }}
4148
hostNetwork: {{ .Values.master.hostNetwork }}
49+
{{- if kindIs "bool" .Values.master.hostUsers }}
50+
hostUsers: {{ .Values.master.hostUsers }}
51+
{{- end }}
52+
{{- with .Values.master.initContainers }}
53+
initContainers:
54+
{{- toYaml . | nindent 8 }}
55+
{{- end }}
4256
containers:
4357
- name: master
4458
securityContext:
@@ -115,7 +129,9 @@ spec:
115129
{{- if .Values.master.instance | empty | not }}
116130
- "-instance={{ .Values.master.instance }}"
117131
{{- end }}
132+
{{- if gt (int .Values.master.replicaCount) 1 }}
118133
- "-enable-leader-election"
134+
{{- end }}
119135
{{- if .Values.master.extraLabelNs | empty | not }}
120136
- "-extra-label-ns={{- join "," .Values.master.extraLabelNs }}"
121137
{{- end }}

0 commit comments

Comments
 (0)