Adding backup concept with velero & minio

This commit is contained in:
Moritz Graf 2020-11-07 23:26:25 +01:00
parent d71eb77f3a
commit 3df266b0f1
4 changed files with 28 additions and 2 deletions

View File

@ -332,8 +332,34 @@ Checks:
## minio
See [chart on GitHub](https://github.com/minio/charts/tree/master/minio).
```sh
kubectl apply -f minio
helm repo add minio https://helm.min.io/
helm repo update
helm upgrade --install -f minio/minio.secret.yaml --namespace minio --create-namespace minio minio/minio
# #
helm delete minio -n minio
kubectl delete ns minio
```
## velero
Backup tool. See chart [README](https://github.com/vmware-tanzu/helm-charts/blob/main/charts/velero/README.md).
```sh
helm repo add vmware-tanzu https://vmware-tanzu.github.io/helm-charts
helm repo update
helm upgrade --install --create-namespace --namespace velero -f ./velero/velero.secret.yaml velero vmware-tanzu/velero
# #
helm delete velero -n velero
kubectl delete ns velero
```
A backup may be created using:
```sh
velero backup create mybackup --default-volumes-to-restic --exclude-namespaces kube-system,minio,monitoring,openebs,cert-manager,ingress-nginx,troubleshoot,velero --wait
```
## Add mopbot & corona & corona-api

Binary file not shown.

View File

@ -7,4 +7,4 @@ ndmOperator:
ndm:
enabled: false
snapshotOperator:
enabled: false
enabled: true

Binary file not shown.