Commit aa72e525 authored by Waqar Ahmed's avatar Waqar Ahmed

Add GPU support

parent 36eee5ec
...@@ -263,3 +263,12 @@ questions: ...@@ -263,3 +263,12 @@ questions:
type: string type: string
default: "ix-plex_config" default: "ix-plex_config"
editable: false editable: false
# Specify GPU configuration
- variable: gpuConfiguration
label: "GPU Configuration"
group: "Resource Reservation"
schema:
type: dict
$ref:
- "definitions/gpuConfiguration"
...@@ -136,6 +136,11 @@ spec: ...@@ -136,6 +136,11 @@ spec:
mountPath: /shared mountPath: /shared
- name: shared-logs - name: shared-logs
mountPath: "/config/Library/Application Support/Plex Media Server/Logs" mountPath: "/config/Library/Application Support/Plex Media Server/Logs"
{{- if .Values.gpuConfiguration }}
resources:
limits:
{{- toYaml .Values.gpuConfiguration | nindent 14 }}
{{- end }}
volumes: volumes:
- name: data - name: data
hostPath: hostPath:
......
...@@ -71,3 +71,5 @@ proxy: ...@@ -71,3 +71,5 @@ proxy:
# http: "http://proxy:8080" # http: "http://proxy:8080"
# https: "https://proxy:8080" # https: "https://proxy:8080"
# noproxy: "localhost,127.0.0.1,10.96.0.0/12,10.244.0.0/12" # noproxy: "localhost,127.0.0.1,10.96.0.0/12,10.244.0.0/12"
gpuConfiguration: {}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment