add gpu slicing
All checks were successful
Renovate / renovate (push) Successful in 4m54s

This commit is contained in:
2025-07-31 14:17:59 +05:30
parent 839074ac93
commit c6cfff59c7

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: time-slicing-config-all
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-all", "default": "any"}}}}'