Add runtime class in transcoder chart

This commit is contained in:
Zoe Roux 2025-08-05 11:37:51 +02:00
parent 8e060f0c55
commit 34148c7634
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

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

View File

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