Skip to content

Commit 1d1d53f

Browse files
Add per-node stack selection between device-plugin and DRA
Signed-off-by: Karthik Vetrivel <kvetrivel@nvidia.com>
1 parent 19c9f62 commit 1d1d53f

49 files changed

Lines changed: 753 additions & 126 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/gpu-feature-discovery/0500_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ spec:
1919
spec:
2020
nodeSelector:
2121
nvidia.com/gpu.deploy.gpu-feature-discovery: "true"
22+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2223
tolerations:
2324
- key: nvidia.com/gpu
2425
operator: Exists

assets/state-cc-manager/0500_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ spec:
2020
effect: NoSchedule
2121
nodeSelector:
2222
nvidia.com/gpu.deploy.cc-manager: "true"
23+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2324
priorityClassName: system-node-critical
2425
serviceAccountName: nvidia-cc-manager
2526
containers:

assets/state-container-toolkit/0500_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
spec:
1919
nodeSelector:
2020
nvidia.com/gpu.deploy.container-toolkit: "true"
21+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2122
tolerations:
2223
- key: nvidia.com/gpu
2324
operator: Exists

assets/state-dcgm-exporter/0800_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
spec:
1919
nodeSelector:
2020
nvidia.com/gpu.deploy.dcgm-exporter: "true"
21+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2122
tolerations:
2223
- key: nvidia.com/gpu
2324
operator: Exists

assets/state-dcgm/0400_dcgm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
spec:
1919
nodeSelector:
2020
nvidia.com/gpu.deploy.dcgm: "true"
21+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2122
tolerations:
2223
- key: nvidia.com/gpu
2324
operator: Exists

assets/state-device-plugin/0500_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
spec:
1919
nodeSelector:
2020
nvidia.com/gpu.deploy.device-plugin: "true"
21+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2122
tolerations:
2223
- key: nvidia.com/gpu
2324
operator: Exists

assets/state-driver/0500_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
spec:
2727
nodeSelector:
2828
nvidia.com/gpu.deploy.driver: "true"
29+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2930
tolerations:
3031
- key: nvidia.com/gpu
3132
operator: Exists

assets/state-kata-device-plugin/0500_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spec:
1818
spec:
1919
nodeSelector:
2020
nvidia.com/gpu.deploy.kata-sandbox-device-plugin: "true"
21+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2122
tolerations:
2223
- key: nvidia.com/gpu
2324
operator: Exists

assets/state-kata-manager/0600_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ spec:
2020
effect: NoSchedule
2121
nodeSelector:
2222
nvidia.com/gpu.deploy.kata-manager: "true"
23+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
2324
priorityClassName: system-node-critical
2425
serviceAccountName: nvidia-kata-manager
2526
hostPID: true

assets/state-mig-manager/0600_daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
spec:
1717
nodeSelector:
1818
nvidia.com/gpu.deploy.mig-manager: "true"
19+
nvidia.com/gpu-operator.resource-allocation.mode: "device-plugin"
1920
tolerations:
2021
- key: nvidia.com/gpu
2122
operator: Exists

0 commit comments

Comments
 (0)