Reintroduce Longhorn volume

This commit is contained in:
Jack Jackson 2023-07-24 16:36:51 -07:00
parent 3e3dddeaec
commit 808a64b3d4
2 changed files with 17 additions and 17 deletions

View File

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

View File

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