mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-06 06:36:25 +00:00
Add runtime class in transcoder chart
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
@@ -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: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user