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
| Repository | Name | Version |
|---|---|---|
| https://kubernetes-sigs.github.io/node-feature-discovery/charts | nfd(node-feature-discovery) | 0.19.0 |
| https://nvidia.github.io/k8s-device-plugin | gfd(gpu-feature-discovery) | 0.20.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| allowDefaultNamespace | bool | false | |
| compatWithCPUManager | string | nil | |
| config.default | string | "" | |
| config.fallbackStrategies[0] | string | "named" | |
| config.fallbackStrategies[1] | string | "single" | |
| config.map | object | {} | |
| config.name | string | "" | |
| deviceIDStrategy | string | nil | |
| deviceListStrategy | string | nil | |
| failOnInitError | string | nil | |
| fullnameOverride | string | "" | |
| gdsEnabled | string | nil | |
| gfd.enabled | bool | false | |
| gfd.nameOverride | string | "gpu-feature-discovery" | |
| gfd.namespaceOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "nvcr.io/nvidia/k8s-device-plugin" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | |
| legacyDaemonsetAPI | string | nil | |
| migStrategy | string | nil | |
| mofedEnabled | string | nil | |
| nameOverride | string | "" | |
| namespaceOverride | string | "" | |
| nfd.enableNodeFeatureApi | bool | false | |
| nfd.enabled | bool | true | |
| nfd.master.config.extraLabelNs[0] | string | "nvidia.com" | |
| nfd.master.serviceAccount.create | bool | true | |
| nfd.master.serviceAccount.name | string | "node-feature-discovery" | |
| nfd.nameOverride | string | "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].effect | string | "NoSchedule" | |
| nfd.worker.tolerations[0].key | string | "node-role.kubernetes.io/master" | |
| nfd.worker.tolerations[0].operator | string | "Equal" | |
| nfd.worker.tolerations[0].value | string | "" | |
| nfd.worker.tolerations[1].effect | string | "NoSchedule" | |
| nfd.worker.tolerations[1].key | string | "nvidia.com/gpu" | |
| nfd.worker.tolerations[1].operator | string | "Equal" | |
| nfd.worker.tolerations[1].value | string | "present" | |
| nodeSelector | object | {} | |
| nvidiaDriverRoot | string | nil | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| priorityClassName | string | "system-node-critical" | |
| resources | object | {} | |
| runtimeClassName | string | nil | |
| securityContext | object | {} | |
| selectorLabelsOverride | object | {} | |
| tolerations[0].key | string | "CriticalAddonsOnly" | |
| tolerations[0].operator | string | "Exists" | |
| tolerations[1].effect | string | "NoSchedule" | |
| tolerations[1].key | string | "nvidia.com/gpu" | |
| tolerations[1].operator | string | "Exists" | |
| updateStrategy.type | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartnvidia-device-plugin is pinned at v0.25.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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