Add GPU support

This commit is contained in:
Waqar Ahmed 2020-12-07 20:17:02 +05:00
parent 36eee5eccb
commit aa72e525df
3 changed files with 16 additions and 0 deletions

View File

@ -263,3 +263,12 @@ questions:
type: string
default: "ix-plex_config"
editable: false
# Specify GPU configuration
- variable: gpuConfiguration
label: "GPU Configuration"
group: "Resource Reservation"
schema:
type: dict
$ref:
- "definitions/gpuConfiguration"

View File

@ -136,6 +136,11 @@ spec:
mountPath: /shared
- name: shared-logs
mountPath: "/config/Library/Application Support/Plex Media Server/Logs"
{{- if .Values.gpuConfiguration }}
resources:
limits:
{{- toYaml .Values.gpuConfiguration | nindent 14 }}
{{- end }}
volumes:
- name: data
hostPath:

View File

@ -71,3 +71,5 @@ proxy:
# http: "http://proxy:8080"
# https: "https://proxy:8080"
# noproxy: "localhost,127.0.0.1,10.96.0.0/12,10.244.0.0/12"
gpuConfiguration: {}