proceed to nextcloud20
This commit is contained in:
parent
f35983c6b4
commit
ecca694f4c
3 changed files with 9 additions and 17 deletions
|
@ -9,8 +9,6 @@
|
|||
|
||||
## Manual init the restic repository for the first time
|
||||
|
||||
1. apply backup-and-restore pod:
|
||||
`kubectl apply -f src/main/resources/backup/backup-restore-deployment.yaml`
|
||||
1. Scale backup-restore deployment up:
|
||||
`kubectl scale deployment backup-restore --replicas=1`
|
||||
1. exec into pod and execute restore pod
|
||||
|
@ -24,12 +22,12 @@
|
|||
|
||||
1. Scale Cloud deployment down:
|
||||
`kubectl scale deployment cloud --replicas=0`
|
||||
1. apply backup-and-restore pod:
|
||||
`kubectl apply -f src/main/resources/backup/backup-restore-deployment.yaml`
|
||||
1. Scale backup-restore deployment up:
|
||||
`kubectl scale deployment backup-restore --replicas=1`
|
||||
1. exec into pod and execute restore pod
|
||||
`kubectl exec -it backup-restore -- /usr/local/bin/backup.sh`
|
||||
1. remove backup-and-restore pod:
|
||||
`kubectl delete pod backup-restore`
|
||||
1. Scale backup-restore deployment down:
|
||||
`kubectl scale deployment backup-restore --replicas=0`
|
||||
1. Scale Cloud deployment up:
|
||||
`kubectl scale deployment cloud --replicas=1`
|
||||
|
||||
|
@ -38,13 +36,13 @@
|
|||
|
||||
1. Scale Cloud deployment down:
|
||||
`kubectl scale deployment cloud --replicas=0`
|
||||
1. 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
|
||||
`kubectl exec -it backup-restore -- /usr/local/bin/restore.sh`
|
||||
1. remove backup-and-restore pod:
|
||||
`kubectl delete pod backup-restore`
|
||||
1. Scale backup-restore deployment down:
|
||||
`kubectl scale deployment backup-restore --replicas=0`
|
||||
1. Scale Cloud deployment up:
|
||||
`kubectl scale deployment cloud --replicas=1`
|
||||
1. Update index of Cloud:
|
||||
Cloud > Settings > System > Advanced > Indexing
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM nextcloud:19
|
||||
FROM nextcloud:20
|
||||
|
||||
# Prepare Entrypoint Script
|
||||
ADD resources /tmp
|
||||
|
|
|
@ -67,9 +67,6 @@ spec:
|
|||
- name: cloud-secret-volume
|
||||
mountPath: /var/run/secrets/cloud-secrets
|
||||
readOnly: true
|
||||
- name: localstack-secret-volume
|
||||
mountPath: /var/run/secrets/localstack-secrets
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: cloud-data-volume
|
||||
persistentVolumeClaim:
|
||||
|
@ -80,6 +77,3 @@ spec:
|
|||
- name: backup-secret-volume
|
||||
secret:
|
||||
secretName: backup-secret
|
||||
- name: localstack-secret-volume
|
||||
secret:
|
||||
secretName: localstack-secret
|
Loading…
Reference in a new issue