Use nvidia runtimeClassName

This commit is contained in:
Jack Jackson 2025-02-08 14:13:49 -08:00
parent cbc77be2a3
commit dcb62c838d
2 changed files with 5 additions and 5 deletions

View File

@ -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 }}

View File

@ -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: