From 7e10aee709f92ca2dd4f963ab12a6363f18e9e13 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 3 Dec 2024 10:12:29 -0500 Subject: [PATCH 1/2] nerc-ocp-test: Pin NVIDIA GPU operator version in clusterpolicy Note: this change will not trigger any updates with the operator or driver. This is simply to give us full controll over when driver upgrades happen following: https://github.com/OCP-on-NERC/nerc-ocp-config/pull/605 --- .../nerc-ocp-test/clusterpolicy/clusterpolicy_patch.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvidia-gpu-operator/overlays/nerc-ocp-test/clusterpolicy/clusterpolicy_patch.yaml b/nvidia-gpu-operator/overlays/nerc-ocp-test/clusterpolicy/clusterpolicy_patch.yaml index 14d1b966..8cc2c2ef 100644 --- a/nvidia-gpu-operator/overlays/nerc-ocp-test/clusterpolicy/clusterpolicy_patch.yaml +++ b/nvidia-gpu-operator/overlays/nerc-ocp-test/clusterpolicy/clusterpolicy_patch.yaml @@ -3,6 +3,10 @@ kind: ClusterPolicy metadata: name: gpu-cluster-policy spec: + driver: + image: driver + repository: nvcr.io/nvidia + version: 550.127.05 mig: strategy: single migManager: From d0900e3a12aa3a11a585ddc31588001809666846 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 3 Dec 2024 10:15:49 -0500 Subject: [PATCH 2/2] nerc-ocp-prod: Pin NVIDIA GPU operator version in clusterpolicy Note: this change will not trigger any updates with the operator or driver. This is simply to give us full controll over when driver upgrades happen following: https://github.com/OCP-on-NERC/nerc-ocp-config/pull/605 --- .../nerc-ocp-prod/clusterpolicy/clusterpolicy_patch.yaml | 9 +++++++++ .../overlays/nerc-ocp-prod/kustomization.yaml | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 nvidia-gpu-operator/overlays/nerc-ocp-prod/clusterpolicy/clusterpolicy_patch.yaml diff --git a/nvidia-gpu-operator/overlays/nerc-ocp-prod/clusterpolicy/clusterpolicy_patch.yaml b/nvidia-gpu-operator/overlays/nerc-ocp-prod/clusterpolicy/clusterpolicy_patch.yaml new file mode 100644 index 00000000..ecbc34ec --- /dev/null +++ b/nvidia-gpu-operator/overlays/nerc-ocp-prod/clusterpolicy/clusterpolicy_patch.yaml @@ -0,0 +1,9 @@ +apiVersion: nvidia.com/v1 +kind: ClusterPolicy +metadata: + name: gpu-cluster-policy +spec: + driver: + image: driver + repository: nvcr.io/nvidia + version: 550.127.05 diff --git a/nvidia-gpu-operator/overlays/nerc-ocp-prod/kustomization.yaml b/nvidia-gpu-operator/overlays/nerc-ocp-prod/kustomization.yaml index b74f253a..82f51e70 100644 --- a/nvidia-gpu-operator/overlays/nerc-ocp-prod/kustomization.yaml +++ b/nvidia-gpu-operator/overlays/nerc-ocp-prod/kustomization.yaml @@ -3,3 +3,5 @@ kind: Kustomization namespace: nvidia-gpu-operator resources: - ../../base +patches: + - path: clusterpolicy/clusterpolicy_patch.yaml