ADD: implement migration and backup configurations for Nextcloud with Longhorn support
This commit is contained in:
@@ -9,24 +9,4 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: local-path # <-- explicit default StorageClass
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nextcloud-mariadb-pv
|
||||
labels:
|
||||
app: mariadb
|
||||
spec:
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: local-path
|
||||
claimRef:
|
||||
namespace: nextcloud
|
||||
name: nextcloud-mariadb-pvc
|
||||
hostPath:
|
||||
path: /var/lib/nextcloud/mariadb-data
|
||||
type: DirectoryOrCreate
|
||||
storageClassName: longhorn
|
||||
|
||||
Reference in New Issue
Block a user