ADD: implement migration and backup configurations for Nextcloud with Longhorn support
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: mariadb-backup
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
nodeName: knode0 # <-- FIXED ON node0
|
||||
containers:
|
||||
- name: backup
|
||||
image: busybox
|
||||
command: ["sleep", "3600"]
|
||||
volumeMounts:
|
||||
- name: old
|
||||
mountPath: /old
|
||||
volumes:
|
||||
- name: old
|
||||
persistentVolumeClaim:
|
||||
claimName: nextcloud-mariadb-pvc
|
||||
Reference in New Issue
Block a user