mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-31 05:49:04 +00:00
36 lines
996 B
Go Template
36 lines
996 B
Go Template
{{- define "custom.custom.configuration.header" -}}
|
|
## Custom configuration
|
|
{{- end -}}
|
|
|
|
{{- define "custom.custom.configuration" -}}
|
|
{{ template "custom.custom.configuration.header" . }}
|
|
|
|
|
|
### GPU
|
|
|
|
You need a real graphic card in your Kubernetes node to run Games on Whales:
|
|
|
|
#### Intel
|
|
|
|
It does not require any custom settings but if you use [intel-gpu-plugin](https://github.com/k8s-at-home/charts/tree/master/charts/stable/intel-gpu-plugin)
|
|
then you might use the `graphic_resources` value to specify the resource limits
|
|
such as:
|
|
|
|
```
|
|
graphic_resources:
|
|
gpu.intel.com/i915: 1 # requesting 1 i915 GPU
|
|
```
|
|
|
|
#### Nvidia
|
|
|
|
If you use the Nvidia propietary device driver then you will need the
|
|
[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin).
|
|
|
|
#### Proxmox
|
|
|
|
If you use Proxmox you might use PCI pass-through but you also need to ensure
|
|
the host does not load any modules for the graphic card. See the
|
|
[instructions](https://pve.proxmox.com/wiki/Pci_passthrough).
|
|
|
|
{{- end -}}
|