Add runtime class in transcoder chart

This commit is contained in:
2025-08-05 11:37:51 +02:00
parent 6b82053aec
commit 64f38517e2
2 changed files with 6 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ metadata:
spec: spec:
replicas: {{ .Values.transcoder.replicaCount }} replicas: {{ .Values.transcoder.replicaCount }}
{{- with .Values.transcoder.updateStrategy }} {{- with .Values.transcoder.updateStrategy }}
strategy: strategy:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
selector: selector:
@@ -33,6 +33,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.transcoder.runtimeClass }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.transcoder.imagePullSecrets | default .Values.global.imagePullSecrets }} {{- with .Values.transcoder.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@@ -367,6 +367,8 @@ scanner:
# scanner deployment configuration # scanner deployment configuration
transcoder: transcoder:
name: transcoder name: transcoder
# can be used if you have a gpu runtime class
runtimeClass: ""
# kyoo_transcoder container configuration # kyoo_transcoder container configuration
kyoo_transcoder: kyoo_transcoder:
livenessProbe: {} livenessProbe: {}