feat(chart): add ResourceClaimTemplates support for transcoder DRA (#1245)

This commit is contained in:
acelinkio 2025-12-30 20:19:11 -08:00 committed by GitHub
commit c3d2d9ccf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 1 deletions

View File

@ -37,6 +37,13 @@ spec:
{{- with .Values.transcoder.runtimeClass }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.transcoder.resourceClaims }}
resourceClaims:
{{- range . }}
- name: {{ .name }}
resourceClaimTemplateName: {{ .resourceClaimTemplateName }}
{{- end }}
{{- end }}
{{- with .Values.transcoder.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}

View File

@ -345,11 +345,21 @@ scanner:
extraInitContainers: []
extraVolumes: []
# scanner deployment configuration
# transcoder deployment configuration
transcoder:
name: transcoder
# can be used if you have a gpu runtime class
runtimeClass: ""
# resourceClaims for Dynamic Resource Allocation (DRA)
# useful for GPU access via ResourceClaimTemplates (Kubernetes 1.32+)
# example:
# resourceClaims:
# - name: gpu
# resourceClaimTemplateName: gpu-claim-template
# then reference in kyoo_transcoder.resources:
# claims:
# - name: gpu
resourceClaims: []
# kyoo_transcoder container configuration
kyoo_transcoder:
livenessProbe: