Enable NIC Feature Discovery in NVIDIA Network Operator
Enable NIC Feature Discovery through NicClusterPolicy and verify the node labels required by SR-IOV and RDMA GPU networking workflows on Kubernetes.
π‘ Quick Answer: Enable NIC Feature Discovery by adding
spec.nicFeatureDiscovery.enabled: trueinNicClusterPolicy, then verify the daemon runs and node labels are present withoc get node --show-labels.
NIC Feature Discovery adds hardware capability labels to nodes so scheduling and network policies can target compatible hosts.
Enable in NicClusterPolicy
apiVersion: mellanox.com/v1alpha1
kind: NicClusterPolicy
metadata:
name: nic-cluster-policy
spec:
nicFeatureDiscovery:
enabled: true
repository: nvcr.io/nvidia/mellanox
image: nic-feature-discovery
version: network-operator-v25.10.0Apply it:
oc apply -f nic-cluster-policy.yamlVerify DaemonSet and Pods
oc -n nvidia-network-operator get ds | grep -i feature
oc -n nvidia-network-operator get pods -o wide | grep -i nic-featureVerify Labels on Nodes
oc get node -o json | jq '.items[].metadata.labels'Look for labels like:
feature.node.kubernetes.io/pci-15b3.present=truefeature.node.kubernetes.io/pci-15b3.sriov.capable=truefeature.node.kubernetes.io/rdma.capable=true
Troubleshooting
- No daemonset created: confirm
nicFeatureDiscovery.enabled: trueis set underspec. - No new labels: verify pods are running on target worker nodes.
- Labels exist but scheduling fails: validate node selectors in your SR-IOV and workload manifests.

Recommended
Kubernetes Recipes β The Complete Book100+ production-ready patterns with detailed explanations, best practices, and copy-paste YAML. Everything in one place.
Get the Book βLearn by Doing
CopyPasteLearn β Hands-on Cloud & DevOps CoursesMaster Kubernetes, Ansible, Terraform, and MLOps with interactive, copy-paste-run lessons. Start free.
Browse Courses βπ Deepen Your Skills β Hands-on Courses
Courses by CopyPasteLearn.com β Learn IT by Doing
