change name of configmap

This commit is contained in:
2025-08-02 10:33:27 +05:30
parent 8f8c8bf5f7
commit 48b47c682c

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: time-slicing-config-all
name: time-slicing-config
namespace: gpu-operator
data:
any: |-
@@ -15,4 +15,4 @@ data:
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"}}}}'
# kubectl patch clusterpolicy/cluster-policy -n gpu-operator --type merge -p '{"spec": {"devicePlugin": {"config": {"name": "time-slicing-config", "default": "any"}}}}'