improve doc

This commit is contained in:
jerger 2022-03-19 17:33:09 +01:00
parent a1cdb3f4fa
commit 20b2659b89
2 changed files with 14 additions and 4 deletions

View file

@ -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`

10
doc/Upgrade.md Normal file
View file

@ -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)"
```