Reconfigure nvidia device plugin for helmfile use.
This commit is contained in:
parent
1d37fe594c
commit
dc6ebed94d
4 changed files with 15 additions and 22 deletions
|
@ -1,9 +0,0 @@
|
|||
version: v1
|
||||
flags:
|
||||
migStrategy: "none"
|
||||
failOnInitError: true
|
||||
nvidiaDriverRoot: "/"
|
||||
plugin:
|
||||
passDeviceSpecs: false
|
||||
deviceListStrategy: envvar
|
||||
deviceIDStrategy: uuid
|
|
@ -22,14 +22,6 @@ spec:
|
|||
remediation:
|
||||
retries: 3
|
||||
strategy: rollback
|
||||
values:
|
||||
runtimeClassName: "nvidia"
|
||||
gfd:
|
||||
enabled: true
|
||||
nfd:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
limits:
|
||||
memory: 512Mi
|
||||
valuesFrom:
|
||||
- kind: ConfigMap
|
||||
name: nvidia-helm-values
|
|
@ -6,8 +6,8 @@ resources:
|
|||
- ./helmrelease.yaml
|
||||
- ./runtimeclass.yaml
|
||||
configMapGenerator:
|
||||
- name: nvidia-plugin-configs
|
||||
- name: nvidia-helm-values
|
||||
files:
|
||||
- config.yaml=./config/config.yml
|
||||
- values.yaml=./resources/values.yml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
runtimeClassName: "nvidia"
|
||||
gfd:
|
||||
enabled: true
|
||||
nfd:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
limits:
|
||||
memory: 512Mi
|
Loading…
Reference in a new issue