From 34148c7634085429d99d4e5eb1072f8a122a6855 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 5 Aug 2025 11:37:51 +0200 Subject: [PATCH] Add runtime class in transcoder chart --- chart/templates/transcoder/deployment.yaml | 5 ++++- chart/values.yaml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chart/templates/transcoder/deployment.yaml b/chart/templates/transcoder/deployment.yaml index 037a28c7..be8a33c1 100644 --- a/chart/templates/transcoder/deployment.yaml +++ b/chart/templates/transcoder/deployment.yaml @@ -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 }} diff --git a/chart/values.yaml b/chart/values.yaml index 89e9923f..2c81cde5 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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: {}