diff --git a/clusters/cl01tl/manifests/shelfmark/Deployment-shelfmark.yaml b/clusters/cl01tl/manifests/shelfmark/Deployment-shelfmark.yaml index e1fcc0e1e..43f1684c0 100644 --- a/clusters/cl01tl/manifests/shelfmark/Deployment-shelfmark.yaml +++ b/clusters/cl01tl/manifests/shelfmark/Deployment-shelfmark.yaml @@ -61,11 +61,16 @@ spec: cpu: 10m memory: 256Mi volumeMounts: + - mountPath: /audiobooks + name: audiobooks - mountPath: /config name: config - mountPath: /ingest name: ingest volumes: + - name: audiobooks + persistentVolumeClaim: + claimName: shelfmark-audiobooks-nfs-storage - name: config persistentVolumeClaim: claimName: shelfmark diff --git a/clusters/cl01tl/manifests/shelfmark/PersistentVolume-shelfmark-audiobooks-nfs-storage.yaml b/clusters/cl01tl/manifests/shelfmark/PersistentVolume-shelfmark-audiobooks-nfs-storage.yaml new file mode 100644 index 000000000..296210f70 --- /dev/null +++ b/clusters/cl01tl/manifests/shelfmark/PersistentVolume-shelfmark-audiobooks-nfs-storage.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: shelfmark-audiobooks-nfs-storage + namespace: shelfmark + labels: + app.kubernetes.io/name: shelfmark-audiobooks-nfs-storage + app.kubernetes.io/instance: shelfmark + app.kubernetes.io/part-of: shelfmark +spec: + persistentVolumeReclaimPolicy: Retain + storageClassName: nfs-client + capacity: + storage: 1Gi + accessModes: + - ReadWriteMany + nfs: + path: /volume2/Storage/Audiobooks + server: synologybond.alexlebens.net + mountOptions: + - vers=4 + - minorversion=1 + - noac diff --git a/clusters/cl01tl/manifests/shelfmark/PersistentVolumeClaim-shelfmark-audiobooks-nfs-storage.yaml b/clusters/cl01tl/manifests/shelfmark/PersistentVolumeClaim-shelfmark-audiobooks-nfs-storage.yaml new file mode 100644 index 000000000..3e57fa158 --- /dev/null +++ b/clusters/cl01tl/manifests/shelfmark/PersistentVolumeClaim-shelfmark-audiobooks-nfs-storage.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: shelfmark-audiobooks-nfs-storage + namespace: shelfmark + labels: + app.kubernetes.io/name: shelfmark-audiobooks-nfs-storage + app.kubernetes.io/instance: shelfmark + app.kubernetes.io/part-of: shelfmark +spec: + volumeName: shelfmark-audiobooks-nfs-storage + storageClassName: nfs-client + accessModes: + - ReadWriteMany + resources: + requests: + storage: 1Gi