Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/for-ops/disaster-recovery/platform-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ For temporarily disabling Keycloak:
## Disable ArgoCD auto-sync during the changes
kubectl patch application -n argocd keycloak-keycloak-operator --patch '[{"op": "remove", "path": "/spec/syncPolicy/automated"}]' --type=json
## Scale Keycloak statefulset to zero
kubectl scale statefulset -n keycloak keycloak --replicas=0
kubectl scale statefulset -n keycloak keycloak --replicas=0
## Verify that pods are shut down
kubectl get statefulset -n keycloak keycloak # Should show READY 0/0
```
Expand Down Expand Up @@ -216,7 +216,7 @@ For restoring Gitea processes:
## Re-enable ArgoCD auto-sync, which should also change the Gitea statefulset to scale up
kubectl patch application -n argocd gitea-gitea --patch '[{"op": "add", "path": "/spec/syncPolicy/automated", "value": {"prune": true, "allowEmpty": true}}]' --type=json
## Optional: scale up, for not having to wait for re-sync of ArgoCD
kubectl patch statefulset -n gitea gitea --patch '[{"op": "replace", "path": "/spec/replicas", "value": 1}]' --type=json
kubectl scale deployment -n gitea gitea --replicas=1
```

For restoring Keycloak processes:
Expand All @@ -225,7 +225,7 @@ For restoring Keycloak processes:
## Re-enable ArgoCD auto-sync
kubectl patch application -n argocd keycloak-keycloak-operator-cr --patch '[{"op": "add", "path": "/spec/syncPolicy/automated", "value": {"prune": true, "allowEmpty": true}}]' --type=json
## Optional: scale up, for not having to wait for re-sync of ArgoCD
kubectl patch keycloak -n keycloak keycloak --patch '[{"op": "replace", "path": "/spec/instances", "value": 1}]' --type=json
kubectl scale statefulset -n keycloak keycloak --replicas=1
## Required: force a restart of the platform Keycloak operator; ArgoCD re-creates the Deployment
kubectl delete deploy -n apl-keycloak-operator apl-keycloak-operator
```
Expand Down
2 changes: 1 addition & 1 deletion docs/for-ops/upgrade-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_label: Upgrade Notes

## About upgrade notes

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

## v4.7.0

Expand Down