disable nvidia-gpu support from cluster
All checks were successful
renovate / renovate (push) Successful in 6m50s

This commit is contained in:
2025-10-12 03:06:30 +05:30
parent a7002f6f50
commit 083ad61920
10 changed files with 3 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: time-slicing-config
namespace: gpu-operator
data:
any: |-
version: v1
flags:
migStrategy: none
sharing:
timeSlicing:
resources:
- name: nvidia.com/gpu
replicas: 4
# remember to patch the cluster policy to use this configmap
# kubectl patch clusterpolicy/cluster-policy -n gpu-operator --type merge -p '{"spec": {"devicePlugin": {"config": {"name": "time-slicing-config", "default": "any"}}}}'