Node Feature Discovery
When you enable the Node Feature Discovery cluster add-on, you can pass the following key/value pairs as arguments.
| Key (API and CLI) | Key's Display Name (Console) | Description | Required/Optional | Default Value | Example Value |
|---|---|---|---|---|---|
affinity |
affinity |
A group of affinity scheduling rules. JSON format in plain text or Base64 encoded. Not used by:
Possible equivalents:
|
Optional | null | null |
nodeSelectors |
node selectors |
You can use node selectors and node labels to control the worker nodes on which add-on pods run. For a pod to run on a node, the pod's node selector must have the same key/value as the node's label. Set JSON format in plain text or Base64 encoded. Not used by:
Possible equivalents:
|
Optional | null | {"foo":"bar", "foo2": "bar2"}The pod will only run on nodes that have the |
numOfReplicas |
numOfReplicas | The number of replicas of the add-on deployment. Not used by:
Possible equivalents:
|
Required | 1Creates one replica of the add-on deployment per cluster. |
2Creates two replicas of the add-on deployment per cluster. |
rollingUpdate |
rollingUpdate |
Controls the desired behavior of rolling update by maxSurge and maxUnavailable. JSON format in plain text or Base64 encoded. Not used by:
Possible equivalents:
|
Optional | null | null |
tolerations |
tolerations |
You can use taints and tolerations to control the worker nodes on which add-on pods run. For a pod to run on a node that has a taint, the pod must have a corresponding toleration. Set JSON format in plain text or Base64 encoded. Possible equivalents:
|
Optional | null | [{"key":"tolerationKeyFoo", "value":"tolerationValBar", "effect":"noSchedule", "operator":"exists"}]Only pods that have this toleration can run on worker nodes that have the |
topologySpreadConstraints |
topologySpreadConstraints |
How to spread matching pods among the given topology. JSON format in plain text or Base64 encoded. Not used by:
|
Optional | null | null |
| Key (API and CLI) | Key's Display Name (Console) | Description | Required/Optional | Default Value | Example Value |
|---|---|---|---|---|---|
master.tolerations |
tolerations for nfd master | Custom tolerations to apply to NFD master pods. | Optional |
|
|
master.affinity |
affinity for nfd master | Node affinity rules for scheduling NFD pods. | Optional |
|
|
master.config |
config for nfd master |
Additional master configuration to merge into YAML or JSON format in plain text. |
Optional | null |
|
master.resources |
resources for nfd master | Resource requests and limits for the NFD master container. JSON format in plain text. | Optional | null |
|
master.replicaCount |
replicaCount for nfd master | Replica count for the NFD master deployment. | Optional | null |
|
master.extraArgs |
extraArgs for nfd master |
Additional command-line arguments for the NFD master container. JSON array format in plain text. |
Optional | null |
|
master.annotations |
annotations for nfd master pods | Annotations to merge into the NFD master pod template. | Optional | null |
|
priorityClassName |
priorityClassName for nfd deployments | PriorityClassName for the NFD master and gc deployments. | Optional | null |
|
worker.config |
config for nfd worker |
Additional worker configuration to merge into YAML or JSON format in plain text. |
Optional | null |
|
worker.resources |
resources for nfd worker | Resource requests and limits for the NFD worker container. JSON format in plain text. | Optional | null |
|
worker.tolerations |
tolerations for nfd worker | Additional tolerations to append to the NFD worker pods. | Optional | null |
|
worker.nodeSelector |
nodeSelector for nfd worker | Node selector labels to merge into the NFD worker DaemonSet. | Optional | null |
|
worker.priorityClassName |
priorityClassName for nfd worker | PriorityClassName for the NFD worker DaemonSet. | Optional | null |
|
worker.extraArgs |
extraArgs for nfd worker |
Additional command-line arguments for the NFD worker container. JSON array format in plain text. |
Optional | null |
|
worker.annotations |
annotations for nfd worker pods | Annotations to merge into the NFD worker pod template. | Optional | null |
|
master.customConfigData |
Custom NFD master configuration data |
Provide content for the If provided, it will be mounted automatically. |
Optional | "" |
|
worker.customConfigData |
Custom NFD worker configuration data |
Provide content for the If provided, it will be mounted automatically. |
Optional | "" |