Remove Volume so Longhorn StorageClass can be recreated with Retain

This commit is contained in:
Jack Jackson 2023-07-24 22:16:55 -07:00
parent 3b58d942ae
commit d9d4031ab7
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
# 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