From eb2cbad90fed2a91daf202c0514a204eff7fbdea Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 10 Mar 2023 09:35:59 +0100 Subject: [PATCH] update cloud migration doc --- doc/BackupAndRestore.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/BackupAndRestore.md b/doc/BackupAndRestore.md index fbf939b..c14ee5c 100644 --- a/doc/BackupAndRestore.md +++ b/doc/BackupAndRestore.md @@ -36,13 +36,13 @@ 1. Scale Cloud deployment down: `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` -1. apply backup-and-restore pod: - `kubectl apply -f src/main/resources/backup/backup-restore-deployment.yaml` -1. exec into pod and execute restore pod + 1. apply backup-and-restore pod: + `kubectl apply -f src/main/resources/backup/backup-restore-deployment.yaml` +3. exec into pod and execute restore pod `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` -1. Scale Cloud deployment up: +5. Scale Cloud deployment up: `kubectl scale deployment cloud-deployment --replicas=1`