Skip to content

Commit b6464aa

Browse files
authored
Merge pull request #371 from vbedida79/patch-120325-1
kmmo: Update for driver and kmm changes
2 parents b125213 + 793e12b commit b6464aa

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

kmmo/README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ Follow the installation guide below to install the KMM operator via CLI or web c
2424
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.
2525

2626
## Set alternative firmware path at runtime with KMM
27+
**NOTE**: This update is required only when using KMM version of v2.1.1 or lower. Starting with v2.2.0, it is not required.
28+
2729
Follow the steps below to set the alternative firmware path at runtime.
2830

29-
1. Update KMM operator `ConfigMap` to set `worker.setFirmwareClassPath` to `/var/lib/firmware`
31+
1. Update KMM operator `ConfigMap` to set `worker.firmwareHostPath` to `/var/lib/firmware`
32+
3033
```
31-
$ 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"}]'
34+
$ 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 firmwareHostPath: /var/lib/firmware"}]'
3235
```
3336

3437
2. Delete the KMM operator controller pod for `ConfigMap` changes to take effect.

kmmo/intel-dgpu.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
inTreeModulesToRemove: [i915, intel_vsec, mei_gsc, mei_me]
1919
kernelMappings:
2020
- regexp: '^.*\.x86_64$'
21-
containerImage: registry.connect.redhat.com/intel/intel-data-center-gpu-driver-container:2.2.0-$KERNEL_FULL_VERSION
21+
containerImage: registry.connect.redhat.com/intel/intel-data-center-gpu-driver-container:3.0.0-$KERNEL_FULL_VERSION
2222
selector:
2323
intel.feature.node.kubernetes.io/gpu: 'true'
2424
intel.feature.node.kubernetes.io/dgpu-canary: 'true'

0 commit comments

Comments
 (0)