Use nvidia runtimeClassName
This commit is contained in:
parent
cbc77be2a3
commit
dcb62c838d
@ -26,6 +26,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
{{- if .Values.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ .Values.runtimeClassName }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
@ -42,8 +45,6 @@ spec:
|
|||||||
name: jf-config
|
name: jf-config
|
||||||
- mountPath: /cache
|
- mountPath: /cache
|
||||||
name: jf-cache
|
name: jf-cache
|
||||||
- mountPath: /dev/dri
|
|
||||||
name: dri
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: face
|
- key: face
|
||||||
operator: Equal
|
operator: Equal
|
||||||
@ -59,9 +60,6 @@ spec:
|
|||||||
- name: jf-cache
|
- name: jf-cache
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: jf-cache-pvc
|
claimName: jf-cache-pvc
|
||||||
- name: dri
|
|
||||||
hostPath:
|
|
||||||
path: /dev/dri
|
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -127,6 +127,8 @@ metricsImage:
|
|||||||
repository: gitea.scubbo.org/scubbo/jellyfin-library-count-prometheus-exporter
|
repository: gitea.scubbo.org/scubbo/jellyfin-library-count-prometheus-exporter
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
|
runtimeClassName: nvidia
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
apiUrl: "http://jellyfin.avril"
|
apiUrl: "http://jellyfin.avril"
|
||||||
affinity:
|
affinity:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user