19 lines
505 B
YAML
19 lines
505 B
YAML
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"}}}}'
|