Node Feature Discovery is a Kubernetes add-on that helps automate the discovery and configuration of node features such as CPU, memory, and network interfaces.
Most people in k8s at home use Node Feature Discovery to ensure that pods that need video transcoding capabilities are running on a node with an Intel GPU (which has excellent video transcoding capabilities). But also for detecting a Zigbee/Z-Wave USB sticks.
For example, the following code would guarantee that a node will run on a Node with Intel GPU:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: feature.node.kubernetes.io/custom-intel-gpu
operator: In
values:
- "true"
Node Feature Discovery, would figure out a node has an Intel GPU and add the feature.node.kubernetes.io/custom-intel-gpu: true
label.
Install with:
helm repo add node-feature-discovery https://kubernetes-sigs.github.io/node-feature-discovery/charts/
helm install node-feature-discovery node-feature-discovery/node-feature-discovery -f values.yaml
See examples from other people.
Name | Repo | Stars | Version | Timestamp |
---|---|---|---|---|
node-feature-discovery | joryirving/home-ops | 143 | 0.16.6 | 2 days ago |
node-feature-discovery | joryirving/home-ops | 143 | 0.16.6 | 2 days ago |
node-feature-discovery | xunholy/k8s-gitops | 516 | 0.16.6 | 3 days ago |
node-feature-discovery | ahinko/home-ops | 166 | 0.16.6 | 3 days ago |
node-feature-discovery | szinn/k8s-homelab | 193 | 0.16.6 | 5 days ago |
See the most popular values for this chart:
Key | Types |
---|---|
worker.config.core.sources[] (96) - pci | string |
worker.config.core.labelSources[] (19) - pci | string |
number | |
string | |
worker.config.sources.usb.deviceLabelFields[] (57) - class | string |
worker.config.sources.usb.deviceClassWhitelist[] (56) - "02" | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
worker.config.sources.pci.deviceClassWhitelist[] (11) - "02" | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
worker.tolerations[].effect (20) NoSchedule | string |
worker.tolerations[].key (19) node-role.kubernetes.io/control-plane | string |
string | |
worker.annotations."configmap.reloader.stakater.com/reload" (11) node-feature-discovery-worker-conf | string |
string | |
string | |
string | |
string | |
string | |
boolean, string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
master.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].key (9) node-role.kubernetes.io/master | string |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
number | |
string | |
master.tolerations[].key (8) node-role.kubernetes.io/master | string |
master.tolerations[].effect (6) NoSchedule | string |
string | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
boolean | |
boolean | |
boolean | |
string | |
string | |
string | |
string |