mirror of
https://github.com/truenas/charts.git
synced 2026-02-03 02:23:49 +08:00
handbrake: allow setting GPU (#2429)
This commit is contained in:
@@ -3,7 +3,7 @@ description: HandBrake is a tool for converting video from nearly any format to
|
||||
annotations:
|
||||
title: HandBrake
|
||||
type: application
|
||||
version: 1.0.2
|
||||
version: 1.0.3
|
||||
apiVersion: v2
|
||||
appVersion: 23.12.2
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -646,3 +646,12 @@ questions:
|
||||
- Exponent - eg. 134e6
|
||||
default: "8Gi"
|
||||
required: true
|
||||
|
||||
- variable: handbrakeGPU
|
||||
group: Resources Configuration
|
||||
label: GPU Configuration
|
||||
schema:
|
||||
type: dict
|
||||
$ref:
|
||||
- "definitions/gpuConfiguration"
|
||||
attrs: []
|
||||
|
||||
@@ -57,4 +57,14 @@ workload:
|
||||
enabled: true
|
||||
type: tcp
|
||||
port: {{ .Values.handbrakeNetwork.vncPort }}
|
||||
{{ with .Values.handbrakeGPU }}
|
||||
scaleGPU:
|
||||
{{ range $key, $value := . }}
|
||||
- gpu:
|
||||
{{ $key }}: {{ $value }}
|
||||
targetSelector:
|
||||
handbrake:
|
||||
- handbrake
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -41,3 +41,5 @@ handbrakeStorage:
|
||||
ixVolumeConfig:
|
||||
datasetName: watch
|
||||
additionalStorages: []
|
||||
|
||||
handbrakeGPU: []
|
||||
|
||||
Reference in New Issue
Block a user