Skip to content

Commit 4be8f17

Browse files
Merge pull request #2554 from ArangoGutierrez/chore/prepare-v0.19.0
Release v0.19.0
2 parents d50636b + cc1454d commit 4be8f17

14 files changed

Lines changed: 68 additions & 68 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ IMAGE_BUILD_CMD ?= docker build
88
IMAGE_BUILD_EXTRA_OPTS ?=
99
IMAGE_PUSH_CMD ?= docker push
1010
CONTAINER_RUN_CMD ?= docker run
11-
BUILDER_IMAGE ?= golang:1.26-trixie
11+
BUILDER_IMAGE ?= golang:1.26.3-trixie
1212
BASE_IMAGE_FULL ?= debian:bookworm-slim
1313
BASE_IMAGE_MINIMAL ?= scratch
1414

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ helm install -n node-feature-discovery --create-namespace nfd oci://registry.k8s
2222
Alternatively, you can deploy using kubectl and kustomize:
2323

2424
```bash
25-
kubectl apply -k "https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.18.3"
25+
kubectl apply -k "https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.19.0
2626
```
2727
2828
#### Verify the deployment
@@ -44,4 +44,4 @@ $ kubectl get no -o json | jq ".items[].metadata.labels"
4444
...
4545
```
4646
47-
[documentation]: https://kubernetes-sigs.github.io/node-feature-discovery
47+
[documentation]: https://kubernetes-sigs.github.io/node-feature-discovery/v0.19

deployment/base/gc/gc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
serviceAccountName: nfd-gc
1818
containers:
1919
- name: nfd-gc
20-
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
21-
imagePullPolicy: Always
20+
image: registry.k8s.io/nfd/node-feature-discovery:v0.19.0
21+
imagePullPolicy: IfNotPresent
2222
livenessProbe:
2323
httpGet:
2424
path: /healthz

deployment/base/master/master-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ spec:
1919
tolerations: []
2020
containers:
2121
- name: nfd-master
22-
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
23-
imagePullPolicy: Always
22+
image: registry.k8s.io/nfd/node-feature-discovery:v0.19.0
23+
imagePullPolicy: IfNotPresent
2424
env:
2525
- name: GOMEMLIMIT
2626
valueFrom:

deployment/base/topologyupdater-daemonset/topologyupdater-daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
serviceAccountName: nfd-topology-updater
1818
containers:
1919
- name: nfd-topology-updater
20-
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
21-
imagePullPolicy: Always
20+
image: registry.k8s.io/nfd/node-feature-discovery:v0.19.0
21+
imagePullPolicy: IfNotPresent
2222
livenessProbe:
2323
httpGet:
2424
path: /healthz

deployment/base/worker-daemonset/worker-daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
dnsPolicy: ClusterFirstWithHostNet
1818
containers:
1919
- name: nfd-worker
20-
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
21-
imagePullPolicy: Always
20+
image: registry.k8s.io/nfd/node-feature-discovery:v0.19.0
21+
imagePullPolicy: IfNotPresent
2222
env:
2323
- name: GOMEMLIMIT
2424
valueFrom:

deployment/base/worker-job/worker-job.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ spec:
2828
- nfd-worker
2929
containers:
3030
- name: nfd-worker
31-
image: gcr.io/k8s-staging-nfd/node-feature-discovery:master
32-
imagePullPolicy: Always
31+
image: registry.k8s.io/nfd/node-feature-discovery:v0.19.0
32+
imagePullPolicy: IfNotPresent
3333
command:
3434
- "nfd-worker"
3535
args:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
2-
appVersion: master
3-
icon: https://kubernetes-sigs.github.io/node-feature-discovery/master/assets/images/nfd/favicon.svg
2+
appVersion: v0.19.0
3+
icon: https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/assets/images/nfd/favicon.svg
44
description: |
55
Node Feature Discovery (NFD) is a Kubernetes add-on for detecting hardware
66
features and system configuration. Detected features are advertised as node

deployment/helm/node-feature-discovery/README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# node-feature-discovery
22

3-
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)
3+
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.19.0](https://img.shields.io/badge/AppVersion-v0.19.0-informational?style=flat-square)
44
Node Feature Discovery (NFD) is a Kubernetes add-on for detecting hardware
55
features and system configuration. Detected features are advertised as node
66
labels. NFD provides flexible configuration and extension points for a wide
@@ -20,7 +20,7 @@ The NFD project provides Helm charts in an OCI compliant repository. Install
2020
NFD with the default configuration
2121

2222
```bash
23-
helm install nfd --namespace node-feature-discovery --create-namespace oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master
23+
helm install nfd --namespace node-feature-discovery --create-namespace oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0
2424
```
2525

2626
See the [configuration](#configuration) section below for instructions how to
@@ -63,18 +63,18 @@ helm install nfd ./node-feature-discovery/ --namespace node-feature-discovery --
6363
You can override values from `values.yaml` and provide a file with custom values:
6464

6565
```bash
66-
helm install -f <path/to/custom/values.yaml> --namespace nfd --create-namespace nfd oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master
66+
helm install -f <path/to/custom/values.yaml> --namespace nfd --create-namespace nfd oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0
6767
```
6868

6969
To specify each parameter separately you can provide them to helm install command:
7070

7171
```bash
72-
helm install --set nameOverride=NFDinstance --set master.replicaCount=2 --namespace nfd --create-namespace nfd oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master
72+
helm install --set nameOverride=NFDinstance --set master.replicaCount=2 --namespace nfd --create-namespace nfd oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0
7373
```
7474

7575
## Upgrading the chart
7676

77-
To upgrade the `node-feature-discovery` deployment to master via Helm.
77+
To upgrade the `node-feature-discovery` deployment to v0.19.0 via Helm.
7878

7979
### Rolling-update pace on large clusters
8080

@@ -108,11 +108,11 @@ export HELM_INSTALL_NAME=nfd
108108
# Uninstall the old NFD deployment
109109
helm uninstall $HELM_INSTALL_NAME --namespace $NFD_NS
110110
# Install the new NFD deployment
111-
helm install $HELM_INSTALL_NAME oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master --namespace $NFD_NS --set master.enable=false
111+
helm install $HELM_INSTALL_NAME oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0 --namespace $NFD_NS --set master.enable=false
112112
# Wait for NFD Worker to be ready
113113
kubectl wait --timeout=-1s --for=condition=ready pod -l app.kubernetes.io/name=node-feature-discovery --namespace $NFD_NS
114114
# Enable the NFD Master
115-
helm upgrade $HELM_INSTALL_NAME oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master --namespace $NFD_NS --set master.enable=true
115+
helm upgrade $HELM_INSTALL_NAME oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0 --namespace $NFD_NS --set master.enable=true
116116
```
117117

118118
### From v0.12 - v0.13
@@ -124,13 +124,13 @@ The API was not enabled by default.
124124
export NFD_NS=node-feature-discovery
125125
export HELM_INSTALL_NAME=nfd
126126
# Install and upgrade CRD's
127-
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/master/deployment/base/nfd-crds/nfd-api-crds.yaml
127+
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.19.0/deployment/base/nfd-crds/nfd-api-crds.yaml
128128
# Install the new NFD deployment
129-
helm upgrade $HELM_INSTALL_NAME oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master --namespace $NFD_NS --set master.enable=false
129+
helm upgrade $HELM_INSTALL_NAME oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0 --namespace $NFD_NS --set master.enable=false
130130
# Wait for NFD Worker to be ready
131131
kubectl wait --timeout=-1s --for=condition=ready pod -l app.kubernetes.io/name=node-feature-discovery --namespace $NFD_NS
132132
# Enable the NFD Master
133-
helm upgrade $HELM_INSTALL_NAME oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master --namespace $NFD_NS --set master.enable=true
133+
helm upgrade $HELM_INSTALL_NAME oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0 --namespace $NFD_NS --set master.enable=true
134134
```
135135

136136
### From v0.14+
@@ -142,9 +142,9 @@ and the CRD `NodeFeature` is enabled by default.
142142
export NFD_NS=node-feature-discovery
143143
export HELM_INSTALL_NAME=nfd
144144
# Install and upgrade CRD's
145-
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/master/deployment/base/nfd-crds/nfd-api-crds.yaml
145+
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.19.0/deployment/base/nfd-crds/nfd-api-crds.yaml
146146
# Install the new NFD deployment
147-
helm upgrade $HELM_INSTALL_NAME oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery --version 0.0.0-master --namespace $NFD_NS
147+
helm upgrade $HELM_INSTALL_NAME oci://registry.k8s.io/nfd/charts/node-feature-discovery --version 0.19.0 --namespace $NFD_NS
148148
```
149149

150150
## Uninstalling the chart
@@ -166,14 +166,14 @@ NFD.
166166

167167
| Key | Type | Default | Description |
168168
|-----|------|---------|-------------|
169-
| image.repository | string | `"gcr.io/k8s-staging-nfd/node-feature-discovery"` | NFD image repository |
170-
| image.pullPolicy | string | `"Always"` | Image pull policy |
169+
| image.repository | string | `"registry.k8s.io/nfd/node-feature-discovery"` | NFD image repository |
170+
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
171171
| image.tag | string | `nil` | NFD image tag. If not specified Chart.AppVersion will be used. |
172172
| imagePullSecrets | list | `[]` | Image pull secrets. [More info](https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod). |
173173
| nameOverride | string | `""` | Override the name of the chart |
174174
| fullnameOverride | string | `""` | Override a default fully qualified app name |
175175
| namespaceOverride | string | `""` | Override the namespace to install the chart into. By default, the namespace is determined by Helm. |
176-
| featureGates | object | `{}` | [Feature gates](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/feature-gates) to enable/disable specific features. |
176+
| featureGates | object | `{}` | [Feature gates](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/feature-gates) to enable/disable specific features. |
177177
| checksumValuesOnly | bool | `false` | Only checksum config values (not the full rendered ConfigMap template) for the rollout annotation. When enabled, pods will only restart when config values actually change, not on unrelated template changes. |
178178
| priorityClassName | string | `""` | The name of the PriorityClass to be used for the NFD pods. |
179179
| postDeleteCleanup | bool | `true` | Enable/disable the Helm post-delete hook. |
@@ -189,12 +189,12 @@ NFD.
189189
| Key | Type | Default | Description |
190190
|-----|------|---------|-------------|
191191
| master.enable | bool | `true` | Specifies whether nfd-master should be deployed |
192-
| master.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/master-commandline-reference) to pass to nfd-master. |
192+
| master.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/master-commandline-reference) to pass to nfd-master. |
193193
| master.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-master container. |
194194
| master.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
195195
| master.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
196196
| master.dnsPolicy | string | `"ClusterFirstWithHostNet"` | NFD master pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy). |
197-
| master.config | string | `nil` | NFD master [configuration](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/master-configuration-reference). |
197+
| master.config | string | `nil` | NFD master [configuration](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/master-configuration-reference). |
198198
| master.port | int | `8080` | Port on which to serve http for metrics and healthz endpoints. |
199199
| master.instance | string | `nil` | Instance name. Used to separate annotation namespaces for multiple parallel deployments. |
200200
| master.resyncPeriod | int | `nil` | NFD API controller resync period. Time duration string (e.g. "5m", "1h", "2h45m"). |
@@ -248,12 +248,12 @@ NFD.
248248
|-----|------|---------|-------------|
249249
| worker.enable | bool | `true` | Specifies whether nfd-worker should be deployed |
250250
| worker.ownerRefs | list | `["pod","ds"]` | Objects used as owner references for NodeFeature objects. Valid values are `node`, `pod`, and `ds`. This value is passed through `-owner-refs` and takes precedence over `worker.config.core.ownerRefs`. |
251-
| worker.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/worker-commandline-reference) to pass to nfd-worker. |
251+
| worker.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/worker-commandline-reference) to pass to nfd-worker. |
252252
| worker.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-worker container. |
253253
| worker.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
254254
| worker.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
255255
| worker.dnsPolicy | string | `"ClusterFirstWithHostNet"` | NFD worker pod [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-policy). |
256-
| worker.config | string | `nil` | NFD worker [configuration](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/worker-configuration-reference). |
256+
| worker.config | string | `nil` | NFD worker [configuration](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/worker-configuration-reference). |
257257
| worker.port | int | `8080` | Port on which to serve http for metrics and healthz endpoints. |
258258
| worker.daemonsetAnnotations | object | `{}` | [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations) to add to the nfd-worker DaemonSet. |
259259
| worker.podSecurityContext | object | `{}` | [Pod SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) of the nfd-worker pods. |
@@ -293,10 +293,10 @@ NFD.
293293

294294
| Key | Type | Default | Description |
295295
|-----|------|---------|-------------|
296-
| topologyUpdater.config | string | `nil` | Configuration for the topology updater. See the [configuration reference](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/topology-updater-configuration-reference) for details. |
296+
| topologyUpdater.config | string | `nil` | Configuration for the topology updater. See the [configuration reference](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/topology-updater-configuration-reference) for details. |
297297
| topologyUpdater.enable | bool | `false` | Specifies whether nfd-topology-updater should be deployed. |
298298
| topologyUpdater.createCRDs | bool | `false` | Create the NodeResourceTopology CRD. This MUST be set to true when 'enable' is true, unless the CRD is installed separately (e.g., by another Helm release or external tool). If the CRD is missing, the topology-updater pods will fail with "NodeResourceTopology CRD is not installed" error. |
299-
| topologyUpdater.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/topology-updater-commandline-reference) to pass to nfd-topology-updater. |
299+
| topologyUpdater.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/topology-updater-commandline-reference) to pass to nfd-topology-updater. |
300300
| topologyUpdater.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-topology-updater container. |
301301
| topologyUpdater.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
302302
| topologyUpdater.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
@@ -344,7 +344,7 @@ NFD.
344344
| Key | Type | Default | Description |
345345
|-----|------|---------|-------------|
346346
| gc.enable | bool | `true` | Specifies whether nfd-gc should be deployed. |
347-
| gc.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/master/reference/gc-commandline-reference) to pass to nfd-gc. |
347+
| gc.extraArgs | list | `[]` | Additional [command line arguments](https://kubernetes-sigs.github.io/node-feature-discovery/v0.19/reference/gc-commandline-reference) to pass to nfd-gc. |
348348
| gc.extraEnvs | list | `[]` | Additional environment variables to set in the nfd-gc container. |
349349
| gc.hostNetwork | bool | `false` | Run the container in the host's network namespace. |
350350
| gc.hostUsers | bool | `nil` | Run the container with host user ids. NOTE: if hostNetwork is true, hostUsers should be true. |
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{{- define "metadata.oci_repo" -}}oci://gcr.io/k8s-staging-nfd/charts/node-feature-discovery
1+
{{- define "metadata.oci_repo" -}}oci://registry.k8s.io/nfd/charts/node-feature-discovery
22
{{- end -}}
33

4-
{{- define "metadata.oci_tag" -}}0.0.0-master
4+
{{- define "metadata.oci_tag" -}}0.19.0
55
{{- end -}}
66

7-
{{- define "metadata.docs_version" -}}master
7+
{{- define "metadata.docs_version" -}}v0.19
88
{{- end -}}
99

10-
{{- define "metadata.nfd_release" -}}master
10+
{{- define "metadata.nfd_release" -}}v0.19.0
1111
{{- end -}}

0 commit comments

Comments
 (0)