Skip to content

Commit cfccd07

Browse files
authored
Merge pull request #218 from hershpa/kmm-readme-FW-path
kmmo: Add section in readme to set FW path at runtime with KMM
2 parents b9d9069 + 709a574 commit cfccd07

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

kmmo/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ Follow the installation guide below to install the KMM operator via CLI or web c
2424
# Canary deployment with KMM
2525
Canary deployment is enabled by default to deploy the driver container image only on specific node(s) to ensure the initial deployment succeeds prior to rollout to all the eligible nodes in the cluster. This safety mechanism can reduce risk and prevent a deployment from adversely affecting the entire cluster.
2626

27+
# Set alternative firmware path at runtime with KMM
28+
Follow the steps below to set the alternative firmware path at runtime.
29+
30+
1. Update KMM operator `ConfigMap` to set `worker.setFirmwareClassPath` to `/var/lib/firmware`
31+
```
32+
$ oc patch configmap kmm-operator-manager-config -n openshift-kmm --type='json' -p='[{"op": "add", "path": "/data/controller_config.yaml", "value": "healthProbeBindAddress: :8081\nmetricsBindAddress: 127.0.0.1:8080\nleaderElection:\n enabled: true\n resourceID: kmm.sigs.x-k8s.io\nwebhook:\n disableHTTP2: true\n port: 9443\nworker:\n runAsUser: 0\n seLinuxType: spc_t\n setFirmwareClassPath: /var/lib/firmware"}]'
33+
```
34+
35+
2. Delete the KMM operator controller pod for `ConfigMap` changes to take effect.
36+
```
37+
$ oc get pods -n openshift-kmm | grep -i "kmm-operator-controller-" | awk '{print $1}' | xargs oc delete pod -n openshift-kmm
38+
```
39+
40+
For more details, see [link.](https://openshift-kmm.netlify.app/documentation/firmwares/#setting-the-kernels-firmware-search-path)
41+
2742
# Deploy Intel Data Center GPU Driver with pre-build mode
2843
Follow the steps below to deploy the driver container image with pre-build mode.
2944
1. Find all nodes with an Intel Data Center GPU card using the following command:

0 commit comments

Comments
 (0)