πŸ“šBook Signing at KubeCon EU 2026Meet us at Booking.com HQ (Mon 18:30-21:00) & vCluster booth #521 (Tue 24 Mar, 12:30-1:30pm) β€” free book giveaway!RSVP Booking.com Event
Networking intermediate ⏱ 20 minutes K8s 1.28+

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.

By Luca Berton β€’ β€’ πŸ“– 5 min read

πŸ’‘ Quick Answer: Enable NIC Feature Discovery by adding spec.nicFeatureDiscovery.enabled: true in NicClusterPolicy, then verify the daemon runs and node labels are present with oc 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.0

Apply it:

oc apply -f nic-cluster-policy.yaml

Verify 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-feature

Verify Labels on Nodes

oc get node -o json | jq '.items[].metadata.labels'

Look for labels like:

  • feature.node.kubernetes.io/pci-15b3.present=true
  • feature.node.kubernetes.io/pci-15b3.sriov.capable=true
  • feature.node.kubernetes.io/rdma.capable=true

Troubleshooting

  • No daemonset created: confirm nicFeatureDiscovery.enabled: true is set under spec.
  • 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.
#nvidia #network-operator #nic-feature-discovery #sriov #rdma
Luca Berton
Written by Luca Berton

Principal Solutions Architect specializing in Kubernetes, AI/GPU infrastructure, and cloud-native platforms. Author of Kubernetes Recipes and creator of CopyPasteLearn courses.

Kubernetes Recipes book cover

Want More Kubernetes Recipes?

This recipe is from Kubernetes Recipes, our 750-page practical guide with hundreds of production-ready patterns.

Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens