split nc data from pvc
This commit is contained in:
parent
327ebc48db
commit
8b285687bb
@ -105,12 +105,14 @@ spec:
|
|||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
nfs:
|
persistentVolumeClaim:
|
||||||
server: 192.168.178.100
|
claimName: nextcloud
|
||||||
path: /nextcloud
|
|
||||||
readOnly: false
|
|
||||||
- name: nextcloud-data
|
- name: nextcloud-data
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.178.4
|
server: 192.168.178.4
|
||||||
path: /mnt/storage/service/nextcloud/data
|
path: /mnt/storage/service/nextcloud/data
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
|
||||||
|
|
||||||
|
|
13
apps/nextcloud/base/pvc.yaml
Normal file
13
apps/nextcloud/base/pvc.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: nextcloud
|
||||||
|
spec:
|
||||||
|
storageClassName: "rook-cephfs"
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 20Gi
|
||||||
|
volumeName: vaultwarden
|
Loading…
x
Reference in New Issue
Block a user