You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation/openshift-olm.md
+44-4Lines changed: 44 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -105,11 +105,15 @@ oc get pods -n openshift-image-registry
105
105
106
106
### 1. Create Node Feature Discovery Rule
107
107
108
-
Create an NFD rule to detect AMD GPU hardware, please create the ```NodeFeatureDiscovery``` under the namespace where NFD operator is running:
108
+
Create an NFD custom resource to detect AMD GPU hardware, based on different deployment scenarios you need to choose creating `NodeFeatureDiscovery` or `NodeFeatureRule`.
109
+
110
+
* If your OpenShift cluster doesn't have `NodeFeatureDiscovery` deployed
111
+
112
+
Please create the ```NodeFeatureDiscovery``` under the namespace where NFD operator is running:
109
113
110
114
```{note}
111
115
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.
116
+
When you are using OpenShift 4.16 you need to specify the NFD operand image in the following `NodeFeatureDiscovery` custom resource. Starting from OpenShift 4.17 you don't have to specify the operand image since the NFD operator will automatically select corresponding operand image.
113
117
114
118
spec:
115
119
operand:
@@ -118,7 +122,6 @@ When you are using OpenShift 4.16 or 4.17 you need to specify the NFD operand im
118
122
servicePort: 12000
119
123
```
120
124
121
-
122
125
```yaml
123
126
apiVersion: nfd.openshift.io/v1
124
127
kind: NodeFeatureDiscovery
@@ -149,8 +152,11 @@ spec:
149
152
matchExpressions:
150
153
vendor: {op: In, value: ["1002"]}
151
154
device: {op: In, value: [
155
+
"74a5", # MI325X
152
156
"74a0", # MI300A
153
157
"74a1", # MI300X
158
+
"74a9", # MI300X-HF
159
+
"74bd", # MI300X-HF
154
160
"740f", # MI210
155
161
"7408", # MI250X
156
162
"740c", # MI250/MI250X
@@ -159,7 +165,41 @@ spec:
159
165
]}
160
166
```
161
167
162
-
Verify the NFD label is applied:
168
+
* If your OpenShift cluster already has `NodeFeatureDiscovery` deployed
169
+
170
+
You can alternatively create a namespaced `NodeFeatureRule` custom resource to avoid modifying `NodeFeatureDiscovery` which could possibly interrupt the existing node label.
0 commit comments