feat: add specific volumes for media
This commit is contained in:
@@ -15,3 +15,22 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf-podcasts-nfs-storage
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: audiobookshelf-podcasts-nfs-storage
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
volumeName: audiobookshelf-podcasts-nfs-storage
|
||||||
|
storageClassName: nfs-client
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
|||||||
@@ -21,3 +21,28 @@ spec:
|
|||||||
- vers=4
|
- vers=4
|
||||||
- minorversion=1
|
- minorversion=1
|
||||||
- noac
|
- noac
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf-podcasts-nfs-storage
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: audiobookshelf-podcasts-nfs-storage
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: nfs-client
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
nfs:
|
||||||
|
path: /volume2/Storage/Podcasts
|
||||||
|
server: synologybond.alexlebens.net
|
||||||
|
mountOptions:
|
||||||
|
- vers=4
|
||||||
|
- minorversion=1
|
||||||
|
- noac
|
||||||
|
|||||||
@@ -114,6 +114,36 @@ audiobookshelf:
|
|||||||
main:
|
main:
|
||||||
- path: /metadata
|
- path: /metadata
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
audiobooks-data:
|
||||||
|
forceRename: audiobookshelf-audiobooks
|
||||||
|
storageClass: ceph-block
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 40Gi
|
||||||
|
retain: true
|
||||||
|
advancedMounts:
|
||||||
|
main:
|
||||||
|
main:
|
||||||
|
- path: /mnt/Audiobooks
|
||||||
|
readOnly: false
|
||||||
|
books-data:
|
||||||
|
forceRename: audiobookshelf-books
|
||||||
|
storageClass: ceph-block
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
retain: true
|
||||||
|
advancedMounts:
|
||||||
|
main:
|
||||||
|
main:
|
||||||
|
- path: /mnt/Books
|
||||||
|
readOnly: false
|
||||||
|
podcasts-data:
|
||||||
|
forceRename: audiobookshelf-podcasts
|
||||||
|
existingClaim: audiobookshelf-podcasts-nfs-storage
|
||||||
|
advancedMounts:
|
||||||
|
main:
|
||||||
|
main:
|
||||||
|
- path: /mnt/Podcasts
|
||||||
|
readOnly: false
|
||||||
audiobooks:
|
audiobooks:
|
||||||
existingClaim: audiobookshelf-nfs-storage
|
existingClaim: audiobookshelf-nfs-storage
|
||||||
advancedMounts:
|
advancedMounts:
|
||||||
@@ -143,3 +173,31 @@ volsync-target-metadata:
|
|||||||
external:
|
external:
|
||||||
enabled: true
|
enabled: true
|
||||||
schedule: 4 10 * * *
|
schedule: 4 10 * * *
|
||||||
|
volsync-target-audiobooks:
|
||||||
|
pvcTarget: audiobookshelf-audiobooks
|
||||||
|
local:
|
||||||
|
enabled: true
|
||||||
|
schedule: 14 8 * * *
|
||||||
|
restic:
|
||||||
|
cacheCapacity: 10Gi
|
||||||
|
remote:
|
||||||
|
enabled: true
|
||||||
|
schedule: 14 9 * * *
|
||||||
|
restic:
|
||||||
|
cacheCapacity: 10Gi
|
||||||
|
external:
|
||||||
|
enabled: true
|
||||||
|
schedule: 14 10 * * *
|
||||||
|
restic:
|
||||||
|
cacheCapacity: 10Gi
|
||||||
|
volsync-target-books:
|
||||||
|
pvcTarget: audiobookshelf-books
|
||||||
|
local:
|
||||||
|
enabled: true
|
||||||
|
schedule: 14 8 * * *
|
||||||
|
remote:
|
||||||
|
enabled: true
|
||||||
|
schedule: 14 9 * * *
|
||||||
|
external:
|
||||||
|
enabled: true
|
||||||
|
schedule: 14 10 * * *
|
||||||
|
|||||||
Reference in New Issue
Block a user