Compare commits
2 Commits
74c7ede426
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a81df25db | |||
| 1bc376f4f1 |
@@ -83,8 +83,6 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- name: pms
|
- name: pms
|
||||||
containerPort: 32400
|
containerPort: 32400
|
||||||
- name: http
|
|
||||||
containerPort: 32400
|
|
||||||
- name: https
|
- name: https
|
||||||
containerPort: 32443
|
containerPort: 32443
|
||||||
env:
|
env:
|
||||||
@@ -135,6 +133,11 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
{{- if .Values.gpu.enabled }}
|
||||||
|
- name: dev-dri
|
||||||
|
mountPath: {{ .Values.gpu.mountPath }}
|
||||||
|
readOnly: true
|
||||||
|
{{- end }}
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
{{- if .Values.persistence.data.subPath }}
|
{{- if .Values.persistence.data.subPath }}
|
||||||
@@ -163,6 +166,11 @@ spec:
|
|||||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
|
{{- if .Values.gpu.enabled }}
|
||||||
|
- name: dev-dri
|
||||||
|
hostPath:
|
||||||
|
path: {{ .Values.gpu.hostPath }}
|
||||||
|
{{- end }}
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
{{- if .Values.persistence.data.claimName }}
|
{{- if .Values.persistence.data.claimName }}
|
||||||
|
|||||||
@@ -146,3 +146,12 @@ tolerations: []
|
|||||||
|
|
||||||
# allows specifying node affinity
|
# allows specifying node affinity
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
# GPU support for hardware-accelerated transcoding
|
||||||
|
gpu:
|
||||||
|
# Enable GPU support (mount /dev/dri from host)
|
||||||
|
enabled: false
|
||||||
|
# Host path to GPU device directory
|
||||||
|
hostPath: "/dev/dri"
|
||||||
|
# Container mount path for GPU devices
|
||||||
|
mountPath: "/dev/dri"
|
||||||
|
|||||||
Reference in New Issue
Block a user