Add backup instructions.

This commit is contained in:
Mikael Frykholm 2025-02-04 16:23:20 +01:00
parent b4346d0ba7
commit 28d4413a9f
Signed by: mifr
GPG key ID: 1467F9D69135C236

View file

@ -102,3 +102,10 @@ Calico can get in a bad state. Look for problems like `Candidate IP leak handle`
kubectl rollout restart daemonset calico-node -n kube-system
This will disrupt the whole cluster for a few seconds.
### Backup
Install Velero backup from https://github.com/vmware-tanzu/velero/releases
velero install --provider aws --plugins velero/velero-plugin-for-aws:v1.2.1 --bucket velero --secret-file ./credentials-velero --use-volume-snapshots=false --backup-location-config region=sto3,s3ForcePathStyle="true",s3Url=https://s3.sto3.safedc.net
velero backup create rut-backup --selector 'backup notin (ignore)'