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