Reconfigure nvidia device plugin for helmfile use.

This commit is contained in:
Joseph Hanson 2024-04-21 05:55:38 -05:00
parent 1d37fe594c
commit dc6ebed94d
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 15 additions and 22 deletions

View file

@ -1,9 +0,0 @@
version: v1
flags:
migStrategy: "none"
failOnInitError: true
nvidiaDriverRoot: "/"
plugin:
passDeviceSpecs: false
deviceListStrategy: envvar
deviceIDStrategy: uuid

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,10 @@
runtimeClassName: "nvidia"
gfd:
enabled: true
nfd:
enabled: false
resources:
requests:
cpu: 100m
limits:
memory: 512Mi