nvidia-device-plugin

by alekc

Helm chartv0.25.0App v0.20.0Verified publisher

A Helm chart for the nvidia-device-plugin on Kubernetes

About this chart

Nvidia Device Plugin

A Helm chart for the nvidia-device-plugin on Kubernetes

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add alekc-charts https://charts.alekc.dev/
$ helm install my-release alekc-charts/nvidia-device-plugin

Requirements

Kubernetes: >= 1.10.0-0

RepositoryNameVersion
https://kubernetes-sigs.github.io/node-feature-discovery/chartsnfd(node-feature-discovery)0.19.0
https://nvidia.github.io/k8s-device-plugingfd(gpu-feature-discovery)0.20.0

Values

KeyTypeDefaultDescription
affinityobject{}
allowDefaultNamespaceboolfalse
compatWithCPUManagerstringnil
config.defaultstring""
config.fallbackStrategies[0]string"named"
config.fallbackStrategies[1]string"single"
config.mapobject{}
config.namestring""
deviceIDStrategystringnil
deviceListStrategystringnil
failOnInitErrorstringnil
fullnameOverridestring""
gdsEnabledstringnil
gfd.enabledboolfalse
gfd.nameOverridestring"gpu-feature-discovery"
gfd.namespaceOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"nvcr.io/nvidia/k8s-device-plugin"
image.tagstring""
imagePullSecretslist[]
legacyDaemonsetAPIstringnil
migStrategystringnil
mofedEnabledstringnil
nameOverridestring""
namespaceOverridestring""
nfd.enableNodeFeatureApiboolfalse
nfd.enabledbooltrue
nfd.master.config.extraLabelNs[0]string"nvidia.com"
nfd.master.serviceAccount.createbooltrue
nfd.master.serviceAccount.namestring"node-feature-discovery"
nfd.nameOverridestring"node-feature-discovery"
nfd.worker.config.sources.pci.deviceClassWhitelist[0]string"02"
nfd.worker.config.sources.pci.deviceClassWhitelist[1]string"0200"
nfd.worker.config.sources.pci.deviceClassWhitelist[2]string"0207"
nfd.worker.config.sources.pci.deviceClassWhitelist[3]string"0300"
nfd.worker.config.sources.pci.deviceClassWhitelist[4]string"0302"
nfd.worker.config.sources.pci.deviceLabelFields[0]string"vendor"
nfd.worker.tolerations[0].effectstring"NoSchedule"
nfd.worker.tolerations[0].keystring"node-role.kubernetes.io/master"
nfd.worker.tolerations[0].operatorstring"Equal"
nfd.worker.tolerations[0].valuestring""
nfd.worker.tolerations[1].effectstring"NoSchedule"
nfd.worker.tolerations[1].keystring"nvidia.com/gpu"
nfd.worker.tolerations[1].operatorstring"Equal"
nfd.worker.tolerations[1].valuestring"present"
nodeSelectorobject{}
nvidiaDriverRootstringnil
podAnnotationsobject{}
podSecurityContextobject{}
priorityClassNamestring"system-node-critical"
resourcesobject{}
runtimeClassNamestringnil
securityContextobject{}
selectorLabelsOverrideobject{}
tolerations[0].keystring"CriticalAddonsOnly"
tolerations[0].operatorstring"Exists"
tolerations[1].effectstring"NoSchedule"
tolerations[1].keystring"nvidia.com/gpu"
tolerations[1].operatorstring"Exists"
updateStrategy.typestring"RollingUpdate"

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy nvidia-device-plugin with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nvidia-device-plugin on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnvidia-device-plugin is pinned at v0.25.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply