Node Feature Discovery (NFD) Operator manages the deployment and lifecycle of the NFD add-on to detect hardware features and system configuration, such as PCI cards, kernel, operating system version, etc.
- Provisioned RHOCP cluster. Follow steps here.
Follow the guide below to install the NFD operator using CLI or web console.
Note: As RHOCP cluster administrator, you might need to merge the NFD operator config from the following Custom Resources (CRs) with other NFD operator configs that are already applied on your cluster.
- Create
NodeFeatureDiscovery
CR instance.
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/nfd/node-feature-discovery-openshift.yaml
- Create
NodeFeatureRule
CR instance.
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/nfd/node-feature-rules-openshift.yaml
Use the following command to get the node name
$ oc get nodes
Use the command shown below to verify whether the nodes are labeled properly by NFD:
$ oc describe node <node_name> | grep intel.feature.node.kubernetes.io
Example output:
intel.feature.node.kubernetes.io/dgpu-canary=true
intel.feature.node.kubernetes.io/gpu=true
Label | Intel hardware feature |
---|---|
intel.feature.node.kubernetes.io/gpu=true |
Intel® Data Center GPU Flex Series or Intel® Data Center GPU Max Series |
intel.feature.node.kubernetes.io/sgx=true |
Intel® SGX |
intel.feature.node.kubernetes.io/qat=true |
Intel® QAT |
intel.feature.node.kubernetes.io/dsa=true |
Intel® DSA |