improve doc
This commit is contained in:
parent
a1cdb3f4fa
commit
20b2659b89
2 changed files with 14 additions and 4 deletions
|
@ -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
10
doc/Upgrade.md
Normal 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)"
|
||||
```
|
Loading…
Reference in a new issue