Skip to content

Commit c8df5a5

Browse files
committed
[DOC] Update docs for Openshift NodeFeatureDiscovery instruction
1 parent 543d545 commit c8df5a5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/installation/openshift-olm.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,17 +107,23 @@ oc get pods -n openshift-image-registry
107107

108108
Create an NFD rule to detect AMD GPU hardware, please create the ```NodeFeatureDiscovery``` under the namespace where NFD operator is running:
109109

110+
```{note}
111+
112+
When you are using OpenShift 4.16 or 4.17 you need to specify the NFD operand image in the following `NodeFeatureDiscovery` custom resource. Starting from OpenShift 4.18 you don't have to specify the operand image since the NFD operator will automatically select corresponding operand image.
113+
114+
spec:
115+
operand:
116+
image: quay.io/openshift/origin-node-feature-discovery:latest
117+
```
118+
119+
110120
```yaml
111121
apiVersion: nfd.openshift.io/v1
112122
kind: NodeFeatureDiscovery
113123
metadata:
114124
name: amd-gpu-operator-nfd-instance
115125
namespace: openshift-nfd
116126
spec:
117-
operand:
118-
image: quay.io/openshift/origin-node-feature-discovery:4.16
119-
imagePullPolicy: IfNotPresent
120-
servicePort: 12000
121127
workerConfig:
122128
configData: |
123129
core:

0 commit comments

Comments
 (0)