mirror of
https://github.com/truenas/charts.git
synced 2026-02-03 18:44:14 +08:00
* Set nvidia caps to void when no gpu is passed * add tests to init containers too * Additionally add `render` group when gpu is added * Correctly handle "0" gpu * handle fsGroup 0 properly * fix gh highlight * Correct nvidia variable and add additional check for runtime * cast both sides of the comparison * fix externalinterfaces nesting * Add dnsConfig missing docs
1.6 KiB
1.6 KiB
Scale GPU
| Key | Type | Required | Helm Template | Default | Description |
|---|---|---|---|---|---|
| scaleGPU | list |
❌ | ❌ | [] |
Define the external interfaces as list |
| scaleGPU.targetSelector | dict |
❌ | ❌ | {} |
Where to assign the GPU |
| scaleGPU.targetSelector.[pod-name] | list |
❌ | ❌ | [] |
The workload to select |
| scaleGPU.targetSelector.[pod-name].[container-name] | string |
✅ | ❌ | "" |
The container to select |
| scaleGPU.gpu | dict |
✅ | ❌ | {} |
The GPU key value pair to define in resources |
When
targetSelectoris a dict, each entry is a list, containing the name(s) of the container(s) to assign the GPU WhentargetSelectoris a empty, it will assign the GPU to the primary pod/container Selected pod's will get appended the group44and107insupplementalGroups. This is to allow rootless containers to access the GPU
Appears in:
.Values.scaleGPU
Examples:
scaleGPU:
- gpu:
# Injected from SCALE UI/Middleware using $ref
nvidia.com/gpu: "1"
targetSelector:
workload-name:
- container-name