From 90260b3ea4bf1a397ab5f89f6cf4043f0eb94129 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Wed, 14 Aug 2024 19:19:00 +0200 Subject: [PATCH] no namespace in old versions --- doc/Runbook_UpgradeFrom1.19To7.0.5.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Runbook_UpgradeFrom1.19To7.0.5.md b/doc/Runbook_UpgradeFrom1.19To7.0.5.md index 4401d7b..11b9a2f 100644 --- a/doc/Runbook_UpgradeFrom1.19To7.0.5.md +++ b/doc/Runbook_UpgradeFrom1.19To7.0.5.md @@ -10,9 +10,9 @@ ## Preparations -1. Stop Forgejo Prod: `k scale -n forgejo deployment forgejo --replicas=0` -1. Disable Backup Cron: `k patch -n forgejo cronjobs forgejo-backup -p '{"spec" : {"suspend" : true }}'` -1. Scale up Backup-Restore Deployment: `kubectl scale -n forgejo deployment backup-restore --replicas=1` +1. Stop Forgejo Prod: `k scale deployment forgejo --replicas=0` +1. Disable Backup Cron: `k patch cronjobs forgejo-backup -p '{"spec" : {"suspend" : true }}'` +1. Scale up Backup-Restore Deployment: `kubectl scale deployment backup-restore --replicas=1` 1. Execute Manual Backup: `kubectl exec -n forgejo -it backup-restore-... -- /usr/local/bin/backup.sh` ### Create 2nd Repo Prod Server