mirror of
https://github.com/truenas/charts.git
synced 2026-06-28 00:06:45 +08:00
docs
This commit is contained in:
@@ -55,3 +55,5 @@ externalInterfaces:
|
||||
- destination: 1.2.3.4
|
||||
gateway: 1.2.3.4
|
||||
```
|
||||
|
||||
`hostInterface` values are generated from the SCALE GUI
|
||||
|
||||
32
library/common/_docs/values/gpu.md
Normal file
32
library/common/_docs/values/gpu.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# GPU
|
||||
|
||||
## key: scaleGPU
|
||||
|
||||
- Type: `dict`
|
||||
- Default: `{}`
|
||||
- Helm Template: ❌
|
||||
|
||||
It's used in SCALE GUI. Configuration is parsed by the Chart,
|
||||
and each key/value pair, is added in `deployment.spec.template.container.resources.limits`
|
||||
|
||||
Example:
|
||||
|
||||
```yaml
|
||||
scaleGPU:
|
||||
gpu.intel.com/i915: "1"
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4000m
|
||||
```
|
||||
|
||||
Will result in:
|
||||
|
||||
```yaml
|
||||
resources:
|
||||
limits:
|
||||
gpu.intel.com/i915: "1"
|
||||
cpu: 4000m
|
||||
```
|
||||
|
||||
`gpu.intel.com/i915` and it's value, are generated from the SCALE GUI.
|
||||
Reference in New Issue
Block a user