The Node Feature Discovery (NFD) Operator identifies hardware features and configurations
within an OpenShift cluster. It assigns labels to nodes based on their hardware attributes, ensuring
that GPU-enabled nodes are marked appropriately. This allows pods that require GPUs to be scheduled
on the correct nodes.
About this task
For more information, see the Node Feature Discovery Operator section in the Red Hat OpenShift Container Platform
documentation.
Procedure
-
In the Openshift Web Console, click in the left hand menu.
- Search for Node Feature Discovery.
- Click the Node Feature Discovery tile provided by Red Hat (not
Community edition).
- Click Install.
- On the Install Operator page, make sure that the option "A
specific namespace on the cluster" is selected.
You do not need to create a namespace because one has already been created for you.
- Click Install.
- Verify that the NFD Operator is successfully installed:
- Navigate to .
- Ensure that either All Projects or openshift-nfd
is selected in the Projects drop-down at the top of the page.
- Verify that Node Feature Discovery appears in the list and its status is
Succeeded.
- If the NFD Operator is installed successfully, click NFD
Operator.
- Click the NodeFeatureDiscovery tab.
- Select Create NodeFeatureDiscovery.
- Scroll to the bottom of the page and click Create.
Note: No configuration changes are required.
- Verify that the worker node with the GPU is successfully labeled.
- In the left menu, navigate to .
- Select the worker node that you know contains a GPU.
- Click the Details tab.
- Under Node labels, based on your operator, verify that one of the following labels are present:
- NVIDIA:
feature.node.kubernetes.io/pci-10de.present=true
- Spyre:
feature.node.kubernetes.io/pci-1014.present=true