diff --git a/README.md b/README.md index f0897fc3..93beab85 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ the features and configurations of the node's hardware. Get the source code ```bash -git clone -b v0.5.0 https://github.com/kubernetes-sigs/node-feature-discovery-operator +git clone -b v0.6.0 https://github.com/kubernetes-sigs/node-feature-discovery-operator ``` Deploy the operator diff --git a/api/v1/nodefeaturediscovery_types.go b/api/v1/nodefeaturediscovery_types.go index caf4b5c6..8e801348 100644 --- a/api/v1/nodefeaturediscovery_types.go +++ b/api/v1/nodefeaturediscovery_types.go @@ -31,7 +31,7 @@ type NodeFeatureDiscoverySpec struct { // NFD-Topology-Updater is a daemon responsible for examining allocated // resources on a worker node to account for resources available to be // allocated to new pod on a per-zone basis - // https://kubernetes-sigs.github.io/node-feature-discovery/v0.10/get-started/introduction.html#nfd-topology-updater + // https://kubernetes-sigs.github.io/node-feature-discovery/v0.12/get-started/introduction.html#nfd-topology-updater // +optional TopologyUpdater bool `json:"topologyUpdater"` diff --git a/bundle/manifests/nfd-operator.clusterserviceversion.yaml b/bundle/manifests/nfd-operator.clusterserviceversion.yaml index bd897c58..42a88605 100644 --- a/bundle/manifests/nfd-operator.clusterserviceversion.yaml +++ b/bundle/manifests/nfd-operator.clusterserviceversion.yaml @@ -14,7 +14,7 @@ metadata: "spec": { "instance": "", "operand": { - "image": "gcr.io/k8s-staging-nfd/node-feature-discovery:master", + "image": "registry.k8s.io/nfd/node-feature-discovery-operator:v0.12.1-minimal", "imagePullPolicy": "Always", "servicePort": 12000 }, @@ -64,7 +64,7 @@ metadata: ] capabilities: Basic Install categories: Integration & Delivery - containerImage: registry.k8s.io/nfd/node-feature-discovery-operator:master + containerImage: registry.k8s.io/nfd/node-feature-discovery-operator:v0.6.0-minimal createdAt: "2023-01-17T14:52:07Z" description: |- The Node Feature Discovery Operator manages the detection of hardware features and configuration in a Kubernetes cluster by labeling the nodes with hardware-specific information. The Node Feature Discovery (NFD) will label the host with node-specific attributes, like PCI cards, kernel, or OS version, and many more. @@ -84,7 +84,7 @@ metadata: operators.operatorframework.io/builder: operator-sdk-v1.26.0+git operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/kubernetes-sigs/node-feature-discovery-operator - name: nfd-operator.v0.5.0 + name: nfd-operator.v0.6.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -403,8 +403,8 @@ spec: - name: OPERATOR_NAME value: cluster-nfd-operator - name: NODE_FEATURE_DISCOVERY_IMAGE - value: gcr.io/k8s-staging-nfd/node-feature-discovery:master - image: registry.k8s.io/nfd/node-feature-discovery-operator:0.5.0-minimal + value: gcr.io/k8s-staging-nfd/node-feature-discovery:v0.12.1-minimal + image: registry.k8s.io/nfd/node-feature-discovery-operator:0.6.0-minimal imagePullPolicy: Always livenessProbe: httpGet: @@ -514,11 +514,11 @@ spec: - discovery links: - name: Documentation operator - url: https://kubernetes-sigs.github.io/node-feature-discovery-operator/v0.4 + url: https://kubernetes-sigs.github.io/node-feature-discovery-operator/v0.6 - name: Documentation operand url: https://kubernetes-sigs.github.io/node-feature-discovery maintainers: - - email: carangog@redhat.com + - email: eduardoa@nvidia.com name: Eduardo Arango - email: zkaiser@nvidia.com name: Zvonko Kaiser @@ -527,4 +527,4 @@ spec: maturity: stable provider: name: kubernetes-sigs - version: 0.5.0 + version: 0.6.0 diff --git a/bundle/manifests/nfd.kubernetes.io_nodefeaturediscoveries.yaml b/bundle/manifests/nfd.kubernetes.io_nodefeaturediscoveries.yaml index 874a9834..2f6b1e41 100644 --- a/bundle/manifests/nfd.kubernetes.io_nodefeaturediscoveries.yaml +++ b/bundle/manifests/nfd.kubernetes.io_nodefeaturediscoveries.yaml @@ -1,9 +1,10 @@ +--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - api-approved.kubernetes.io: unapproved, experimental-only controller-gen.kubebuilder.io/version: v0.8.0 + api-approved.kubernetes.io: unapproved, experimental-only creationTimestamp: null name: nodefeaturediscoveries.nfd.kubernetes.io spec: @@ -71,6 +72,13 @@ spec: listens for incoming requests. type: integer type: object + prunerOnDelete: + description: PruneOnDelete defines whether the NFD-master prune should + be enabled or not. If enabled, the Operator will deploy an NFD-Master + prune job that will remove all NFD labels (and other NFD-managed + assets such as annotations, extended resources and taints) from + the cluster nodes. + type: boolean resourceLabels: description: ResourceLabels defines the list of features to be advertised as extended resources instead of labels. @@ -82,7 +90,7 @@ spec: description: Deploy the NFD-Topology-Updater NFD-Topology-Updater is a daemon responsible for examining allocated resources on a worker node to account for resources available to be allocated to new pod - on a per-zone basis https://kubernetes-sigs.github.io/node-feature-discovery/v0.10/get-started/introduction.html#nfd-topology-updater + on a per-zone basis https://kubernetes-sigs.github.io/node-feature-discovery/v0.12/get-started/introduction.html#nfd-topology-updater type: boolean workerConfig: description: WorkerConfig describes configuration options for the diff --git a/config/crd/bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml b/config/crd/bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml index dd0586fe..2f6b1e41 100644 --- a/config/crd/bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml +++ b/config/crd/bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml @@ -90,7 +90,7 @@ spec: description: Deploy the NFD-Topology-Updater NFD-Topology-Updater is a daemon responsible for examining allocated resources on a worker node to account for resources available to be allocated to new pod - on a per-zone basis https://kubernetes-sigs.github.io/node-feature-discovery/v0.10/get-started/introduction.html#nfd-topology-updater + on a per-zone basis https://kubernetes-sigs.github.io/node-feature-discovery/v0.12/get-started/introduction.html#nfd-topology-updater type: boolean workerConfig: description: WorkerConfig describes configuration options for the diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index d9d80374..84c188a0 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -13,4 +13,4 @@ kind: Kustomization images: - name: controller newName: registry.k8s.io/nfd/node-feature-discovery-operator - newTag: 0.5.0 + newTag: 0.6.0 diff --git a/config/manifests/bases/nfd-operator.clusterserviceversion.yaml b/config/manifests/bases/nfd-operator.clusterserviceversion.yaml index d1965d41..c9c4d7e5 100644 --- a/config/manifests/bases/nfd-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/nfd-operator.clusterserviceversion.yaml @@ -13,7 +13,7 @@ metadata: }, "spec": { "operand": { - "image": "gcr.io/k8s-staging-nfd/node-feature-discovery:master-minimal", + "image": "registry.k8s.io/nfd/node-feature-discovery:v0.12.1-minimal", "imagePullPolicy": "Always", "servicePort": 12000 }, @@ -63,7 +63,7 @@ metadata: ] capabilities: Basic Install categories: Integration & Delivery - containerImage: registry.k8s.io/nfd/node-feature-discovery-operator:master + containerImage: registry.k8s.io/nfd/node-feature-discovery-operator:v0.6.0-minimal createdAt: "2022-01-19T18:23:18Z" description: |- The Node Feature Discovery Operator manages the detection of hardware features and configuration in a Kubernetes cluster by labeling the nodes with hardware-specific information. The Node Feature Discovery (NFD) will label the host with node-specific attributes, like PCI cards, kernel, or OS version, and many more. @@ -83,7 +83,7 @@ metadata: operators.operatorframework.io/builder: operator-sdk-v1.13.0+git operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/kubernetes-sigs/node-feature-discovery-operator - name: nfd-operator.v0.4.0 + name: nfd-operator.v0.6.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -463,8 +463,8 @@ spec: - name: OPERATOR_NAME value: cluster-nfd-operator - name: NODE_FEATURE_DISCOVERY_IMAGE - value: gcr.io/k8s-staging-nfd/node-feature-discovery:master-minimal - image: gcr.io/k8s-staging-nfd/node-feature-discovery-operator:master-minimal + value: registry.k8s.io/nfd/node-feature-discovery:v0.12.1-minimal + image: registry.k8s.io/nfd/node-feature-discovery-operator:v0.6.0-minimal imagePullPolicy: Always livenessProbe: httpGet: @@ -571,11 +571,11 @@ spec: - discovery links: - name: Documentation operator - url: https://kubernetes-sigs.github.io/node-feature-discovery-operator/v0.4 + url: https://kubernetes-sigs.github.io/node-feature-discovery-operator/v0.6 - name: Documentation operand url: https://kubernetes-sigs.github.io/node-feature-discovery maintainers: - - email: carangog@redhat.com + - email: eduardoa@nvidia.com name: Eduardo Arango - email: zkaiser@nvidia.com name: Zvonko Kaiser @@ -584,4 +584,4 @@ spec: maturity: stable provider: name: kubernetes-sigs - version: 0.4.0 + version: 0.6.0 diff --git a/config/samples/nfd.kubernetes.io_v1_nodefeaturediscovery.yaml b/config/samples/nfd.kubernetes.io_v1_nodefeaturediscovery.yaml index 4a93614f..24756c6b 100644 --- a/config/samples/nfd.kubernetes.io_v1_nodefeaturediscovery.yaml +++ b/config/samples/nfd.kubernetes.io_v1_nodefeaturediscovery.yaml @@ -11,7 +11,7 @@ spec: #resourceLabels: # - "example.com/resource" operand: - image: gcr.io/k8s-staging-nfd/node-feature-discovery:master + image: registry.k8s.io/nfd/node-feature-discovery:v0.12.1-minimal imagePullPolicy: Always servicePort: 12000 workerConfig: diff --git a/deploy/helm/nfd-operator/Chart.yaml b/deploy/helm/nfd-operator/Chart.yaml index 49ea385c..e3d81140 100644 --- a/deploy/helm/nfd-operator/Chart.yaml +++ b/deploy/helm/nfd-operator/Chart.yaml @@ -6,7 +6,7 @@ description: | type: application version: 0.1.0 -appVersion: master +appVersion: v0.6.0 sources: - https://github.com/kubernetes-sigs/node-feature-discovery-operator home: https://github.com/kubernetes-sigs/node-feature-discovery-operator diff --git a/deploy/helm/nfd-operator/crds/nfd-api-crds.yaml b/deploy/helm/nfd-operator/crds/nfd-api-crds.yaml index 7b39586b..baa45512 100644 --- a/deploy/helm/nfd-operator/crds/nfd-api-crds.yaml +++ b/deploy/helm/nfd-operator/crds/nfd-api-crds.yaml @@ -90,7 +90,7 @@ spec: description: Deploy the NFD-Topology-Updater NFD-Topology-Updater is a daemon responsible for examining allocated resources on a worker node to account for resources available to be allocated to new pod - on a per-zone basis https://kubernetes-sigs.github.io/node-feature-discovery/v0.10/get-started/introduction.html#nfd-topology-updater + on a per-zone basis https://kubernetes-sigs.github.io/node-feature-discovery/v0.12/get-started/introduction.html#nfd-topology-updater type: boolean workerConfig: description: WorkerConfig describes configuration options for the diff --git a/deploy/helm/nfd-operator/templates/deployment.yaml b/deploy/helm/nfd-operator/templates/deployment.yaml index 2205bad1..9d770029 100644 --- a/deploy/helm/nfd-operator/templates/deployment.yaml +++ b/deploy/helm/nfd-operator/templates/deployment.yaml @@ -53,7 +53,7 @@ spec: - name: OPERATOR_NAME value: node-feature-discovery-operator - name: NODE_FEATURE_DISCOVERY_IMAGE - value: "{{ .Values.nfd.image.repository }}:{{ .Values.nfd.image.tag | default "master" }}" + value: "{{ .Values.nfd.image.repository }}:{{ .Values.nfd.image.tag | default "v0.12.1" }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} livenessProbe: diff --git a/deploy/helm/nfd-operator/values.yaml b/deploy/helm/nfd-operator/values.yaml index dc14e959..2fd41f54 100644 --- a/deploy/helm/nfd-operator/values.yaml +++ b/deploy/helm/nfd-operator/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. namespace: node-feature-discovery-operator image: - repository: gcr.io/k8s-staging-nfd/node-feature-discovery-operator + repository: registry.k8s.io/nfd/node-feature-discovery-operator # This should be set to 'IfNotPresent' for released version pullPolicy: Always # tag, if defined will use the given image tag, else Chart.AppVersion will be used @@ -18,5 +18,5 @@ enableNodeFeatureApi: false nfd: image: - repository: gcr.io/k8s-staging-nfd/node-feature-discovery - tag: master \ No newline at end of file + repository: registry.k8s.io/nfd/node-feature-discovery + tag: v0.12.1 \ No newline at end of file diff --git a/docs/_config.yml b/docs/_config.yml index aad1428c..715bbd2d 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -42,15 +42,15 @@ remote_theme: rundocs/jekyll-rtd-theme@v2.0.10 # - vendor/ruby/ # Document versioning -version: master +version: v0.6.0 display_version_list: true # Release is the full released version number. Used to make external links to # point to the correct blobs in the Github repo. This is also the version shown # in the sidebar (top left corner of the page) -release: master +release: v0.6.0 # Container image which to point to in the documentation -container_image: gcr.io/k8s-staging-nfd/node-feature-discovery-operator:master-minimal +container_image: registry.k8s.io/nfd/node-feature-discovery-operator:v0.6.0-minimal # Operand Node Feature Discovery documentation version -operand_version: master +operand_version: v0.12