Added persitant volume. Change PVC name in deploy

This commit is contained in:
Matthew Fisher 2024-10-13 18:08:48 -05:00
parent aa47d6dea7
commit 7b024b50d2
2 changed files with 25 additions and 1 deletions

View File

@ -31,7 +31,7 @@ spec:
volumes:
- name: kavita-config
persistentVolumeClaim:
claimName: nfs-kavita-data
claimName: nfs-kavita-config
- name: kavita-books
persistentVolumeClaim:
claimName: nfs-kavita-books

24
pvc.yaml Normal file
View File

@ -0,0 +1,24 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nfs-kavita-config
namespace: kavita
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs-client
resources:
requests:
storage: 1Gi
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nfs-kavita-books
namespace: kavita
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs-client
resources:
requests:
storage: 10Gi