Skip to content

Commit 0cd6d65

Browse files
authored
fix: typo and db instructions (#124)
1 parent 1ddbbd8 commit 0cd6d65

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/for-ops/disaster-recovery/platform-databases.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ For temporarily disabling Keycloak:
153153
## Disable ArgoCD auto-sync during the changes
154154
kubectl patch application -n argocd keycloak-keycloak-operator --patch '[{"op": "remove", "path": "/spec/syncPolicy/automated"}]' --type=json
155155
## Scale Keycloak statefulset to zero
156-
kubectl scale statefulset -n keycloak keycloak --replicas=0
156+
kubectl scale statefulset -n keycloak keycloak --replicas=0
157157
## Verify that pods are shut down
158158
kubectl get statefulset -n keycloak keycloak # Should show READY 0/0
159159
```
@@ -216,7 +216,7 @@ For restoring Gitea processes:
216216
## Re-enable ArgoCD auto-sync, which should also change the Gitea statefulset to scale up
217217
kubectl patch application -n argocd gitea-gitea --patch '[{"op": "add", "path": "/spec/syncPolicy/automated", "value": {"prune": true, "allowEmpty": true}}]' --type=json
218218
## Optional: scale up, for not having to wait for re-sync of ArgoCD
219-
kubectl patch statefulset -n gitea gitea --patch '[{"op": "replace", "path": "/spec/replicas", "value": 1}]' --type=json
219+
kubectl scale deployment -n gitea gitea --replicas=1
220220
```
221221

222222
For restoring Keycloak processes:
@@ -225,7 +225,7 @@ For restoring Keycloak processes:
225225
## Re-enable ArgoCD auto-sync
226226
kubectl patch application -n argocd keycloak-keycloak-operator-cr --patch '[{"op": "add", "path": "/spec/syncPolicy/automated", "value": {"prune": true, "allowEmpty": true}}]' --type=json
227227
## Optional: scale up, for not having to wait for re-sync of ArgoCD
228-
kubectl patch keycloak -n keycloak keycloak --patch '[{"op": "replace", "path": "/spec/instances", "value": 1}]' --type=json
228+
kubectl scale statefulset -n keycloak keycloak --replicas=1
229229
## Required: force a restart of the platform Keycloak operator; ArgoCD re-creates the Deployment
230230
kubectl delete deploy -n apl-keycloak-operator apl-keycloak-operator
231231
```

docs/for-ops/upgrade-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Upgrade Notes
66

77
## About upgrade notes
88

9-
In some cases between versions upgrades there are issues that can occur. This page describes known potential issues and their mitigations.
9+
In some cases between versions upgrades there are issues that can occur. This page describes known potential issues and their mitigation.
1010

1111
## v4.7.0
1212

0 commit comments

Comments
 (0)