Skip to content

Commit fd0a590

Browse files
authored
Merge pull request #2607 from NVIDIA/new-gpu-deploy-client-labels
add new deploy label to manage third-party gpu client pods
2 parents 79fff70 + 45fb0db commit fd0a590

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

assets/state-mig-manager/0210_clusterrole.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ rules:
1313
- watch
1414
- update
1515
- patch
16+
- apiGroups:
17+
- ""
18+
resources:
19+
- pods
20+
verbs:
21+
- list

controllers/state_manager.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,23 @@ var gpuStateLabels = map[string]map[string]string{
9494
"nvidia.com/gpu.deploy.dcgm-exporter": "true",
9595
"nvidia.com/gpu.deploy.node-status-exporter": "true",
9696
"nvidia.com/gpu.deploy.operator-validator": "true",
97+
"nvidia.com/gpu.deploy.client": "true",
9798
},
9899
gpuWorkloadConfigVMPassthrough: {
99100
"nvidia.com/gpu.deploy.sandbox-device-plugin": "true",
100101
"nvidia.com/gpu.deploy.sandbox-validator": "true",
101102
"nvidia.com/gpu.deploy.vfio-manager": "true",
102103
"nvidia.com/gpu.deploy.kata-manager": "true",
103104
"nvidia.com/gpu.deploy.cc-manager": "true",
105+
"nvidia.com/gpu.deploy.client": "true",
104106
},
105107
gpuWorkloadConfigVMVgpu: {
106108
"nvidia.com/gpu.deploy.sandbox-device-plugin": "true",
107109
"nvidia.com/gpu.deploy.vgpu-manager": "true",
108110
"nvidia.com/gpu.deploy.vgpu-device-manager": "true",
109111
"nvidia.com/gpu.deploy.sandbox-validator": "true",
110112
"nvidia.com/gpu.deploy.cc-manager": "true",
113+
"nvidia.com/gpu.deploy.client": "true",
111114
},
112115
}
113116

0 commit comments

Comments
 (0)