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:
|
remediation:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
values:
|
valuesFrom:
|
||||||
runtimeClassName: "nvidia"
|
- kind: ConfigMap
|
||||||
gfd:
|
name: nvidia-helm-values
|
||||||
enabled: true
|
|
||||||
nfd:
|
|
||||||
enabled: false
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
limits:
|
|
||||||
memory: 512Mi
|
|
|
@ -6,8 +6,8 @@ resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ./runtimeclass.yaml
|
- ./runtimeclass.yaml
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: nvidia-plugin-configs
|
- name: nvidia-helm-values
|
||||||
files:
|
files:
|
||||||
- config.yaml=./config/config.yml
|
- values.yaml=./resources/values.yml
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
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