Helm chart allow to easily deploy and manage the NFD-operator.
NOTE: NFD-operator is not ideal for other Helm charts to depend on as that may result in multiple parallel NFD-operator deployments in the same cluster which is not fully supported by the NFD-operator Helm chart.
Helm package manager should be installed.
To install the latest stable version:
export NFD_O_NS=nfd-operator
helm repo add nfd-operator https://kubernetes-sigs.github.io/node-feature-discovery-operator/charts
helm repo update
helm install nfd-operator/nfd-operator --namespace $NFD_O_NS --create-namespace --generate-name
To install the latest development version you need to clone the NFD-Operator Git repository and install from there.
git clone https://github.com/kubernetes-sigs/node-feature-discovery-operator/
cd node-feature-discovery-operator/deployment/helm
export NFD_O_NS=nfd-operator
helm install nfd-operator ./nfd-operator/ --namespace $NFD_O_NS --create-namespace
See the configuration section below for instructions how to alter the deployment parameters.
You can override values from values.yaml
and provide a file with custom values:
export NFD_O_NS=nfd-operator
helm install nfd-operator/nfd-operator -f <path/to/custom/values.yaml> --namespace $NFD_O_NS --create-namespace
To specify each parameter separately you can provide them to helm install command:
export NFD_O_NS=nfd-operator
helm install nfd-operator/nfd-operator --set nameOverride=NFDinstance --namespace $NFD_O_NS --create-namespace
To uninstall the nfd-operator
deployment:
export NFD_O_NS=nfd-operator
helm uninstall nfd-operator --namespace $NFD_O_NS
The command removes all the Kubernetes components associated with the chart and deletes the release.
In order to tailor the deployment of the Node Feature Discovery to your cluster needs We have introduced the following Chart parameters.
Name | Type | Default | description |
---|---|---|---|
image.repository | string | gcr.io/k8s-staging-nfd/node-feature-discovery-operator | NFD image repository |
image.tag | string | master | NFD image tag |
image.pullPolicy | string | Always | Image pull policy |
imagePullSecrets | list | [] | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info |
nameOverride | string | Override the name of the chart | |
fullnameOverride | string | Override a default fully qualified app name |
Name | Type | Default | description |
---|---|---|---|
controller.image.repository | string | gcr.io/k8s-staging-nfd/node-feature-discovery-operator | NFD-Operator image repository |
controller.image.tag | string | master | NFD-Operator image tag |