update cloud migration doc

This commit is contained in:
Michael Jerger 2023-03-10 09:35:59 +01:00
parent a286cffb03
commit eb2cbad90f

View file

@ -36,13 +36,13 @@
1. Scale Cloud deployment down: 1. Scale Cloud deployment down:
`kubectl scale deployment cloud-deployment --replicas=0` `kubectl scale deployment cloud-deployment --replicas=0`
1. Scale backup-restore deployment up: 2. Scale backup-restore deployment up:
`kubectl scale deployment backup-restore --replicas=1` `kubectl scale deployment backup-restore --replicas=1`
1. apply backup-and-restore pod: 1. apply backup-and-restore pod:
`kubectl apply -f src/main/resources/backup/backup-restore-deployment.yaml` `kubectl apply -f src/main/resources/backup/backup-restore-deployment.yaml`
1. exec into pod and execute restore pod 3. exec into pod and execute restore pod
`kubectl exec -it backup-restore -- /usr/local/bin/restore.sh` `kubectl exec -it backup-restore -- /usr/local/bin/restore.sh`
1. Scale backup-restore deployment down: 4. Scale backup-restore deployment down:
`kubectl scale deployment backup-restore --replicas=0` `kubectl scale deployment backup-restore --replicas=0`
1. Scale Cloud deployment up: 5. Scale Cloud deployment up:
`kubectl scale deployment cloud-deployment --replicas=1` `kubectl scale deployment cloud-deployment --replicas=1`