Added persitant volume. Change PVC name in deploy
This commit is contained in:
parent
aa47d6dea7
commit
7b024b50d2
@ -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
24
pvc.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user