Add Longhorn TV volume

This commit is contained in:
Jack Jackson 2023-07-20 21:46:18 -07:00
parent 84d5759cda
commit 780114f87e
2 changed files with 17 additions and 0 deletions

View File

@ -42,6 +42,8 @@ spec:
name: jf-config
- mountPath: /cache
name: jf-cache
- mountPath: /media-longhorn/tv
name: jf-longhorn-tv-1
tolerations:
- key: face
operator: Equal
@ -57,6 +59,9 @@ spec:
- name: jf-cache
persistentVolumeClaim:
claimName: jf-cache-pvc
- name: jf-longhorn-tv-1
persistentVolumeClaim:
claimName: jf-longhorn-tv-1
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@ -32,6 +32,18 @@ spec:
requests:
storage: {{ .config.size | quote }}
{{- end}}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: longhorn-tv-1
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn
resources:
requests:
storage: 500Gi
# ---
# # https://forum.jellyfin.org/t-could-not-apply-migration-migrateactivitylogdatabase
# apiVersion: v1