Re-add Longhorn for (hopefully) last time

This commit is contained in:
Jack Jackson 2023-07-25 07:53:13 -07:00
parent d9d4031ab7
commit 56ef7ddcc4
2 changed files with 17 additions and 17 deletions

View File

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

View File

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