mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-01-01 09:40:28 -05:00
feat(chart): add ResourceClaimTemplates support for transcoder DRA (#1245)
This commit is contained in:
commit
c3d2d9ccf3
@ -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 }}
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user