diff --git a/doc/BackupAndRestore.md b/doc/BackupAndRestore.md index adff4fe..fbf939b 100644 --- a/doc/BackupAndRestore.md +++ b/doc/BackupAndRestore.md @@ -21,7 +21,7 @@ ## Manual backup the restic repository for the first time 1. Scale Cloud deployment down: - `kubectl scale deployment cloud --replicas=0` + `kubectl scale deployment cloud-deployment --replicas=0` 1. Scale backup-restore deployment up: `kubectl scale deployment backup-restore --replicas=1` 1. exec into pod and execute restore pod @@ -29,13 +29,13 @@ 1. Scale backup-restore deployment down: `kubectl scale deployment backup-restore --replicas=0` 1. Scale Cloud deployment up: - `kubectl scale deployment cloud --replicas=1` + `kubectl scale deployment cloud-deployment --replicas=1` ## Manual restore 1. Scale Cloud deployment down: - `kubectl scale deployment cloud --replicas=0` + `kubectl scale deployment cloud-deployment --replicas=0` 1. Scale backup-restore deployment up: `kubectl scale deployment backup-restore --replicas=1` 1. apply backup-and-restore pod: @@ -45,4 +45,4 @@ 1. Scale backup-restore deployment down: `kubectl scale deployment backup-restore --replicas=0` 1. Scale Cloud deployment up: - `kubectl scale deployment cloud --replicas=1` + `kubectl scale deployment cloud-deployment --replicas=1` diff --git a/doc/Upgrade.md b/doc/Upgrade.md new file mode 100644 index 0000000..e0f6f58 --- /dev/null +++ b/doc/Upgrade.md @@ -0,0 +1,10 @@ +# Upgrade with a new nextcloud version + +1. Pull a new image +1. Trigger deployment + +``` +k3s crictl pull domaindrivenarchitecture/c4k-cloud +k3s crictl images +kubectl set env deployment cloud-deployment DEPLOY_DATE="$(date)" +``` \ No newline at end of file