Skip to content

Commit

Permalink
Merge pull request #323 from appuio/rook/replace-node-healthcheck
Browse files Browse the repository at this point in the history
Add pausing ArgoCD to replace storage node documentation
  • Loading branch information
DebakelOrakel authored Apr 23, 2024
2 parents 93affe1 + 3ba22da commit d31ee77
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@ include::partial$cloudscale/configure-terraform-secrets.adoc[]

include::partial$setup_terraform.adoc[]

== Set alert silence
== Set alert silence and pause ArgoCD

:duration: +60 minutes
include::partial$create-alertmanager-silence.adoc[]

. Disable auto sync for component `rook-ceph`.
This allows us to temporarily make manual changes to the Rook Ceph cluster.
+
include::partial$disable-argocd-autosync.adoc[]

== Replace node

. Make a note of the node you want to replace
Expand All @@ -71,6 +76,8 @@ include::partial$delete-node.adoc[]

include::partial$remove-alertmanager-silence.adoc[]

include::partial$enable-argocd-autosync.adoc[]

== Upstream documentation

* Rook documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@ include::partial$exoscale/configure-terraform-secrets.adoc[]

include::partial$setup_terraform.adoc[]

== Set alert silence
== Set alert silence and pause ArgoCD

:duration: +60 minutes
include::partial$create-alertmanager-silence.adoc[]

. Disable auto sync for component `rook-ceph`.
This allows us to temporarily make manual changes to the Rook Ceph cluster.
+
include::partial$disable-argocd-autosync.adoc[]

== Replace node

. Make a note of the node you want to replace
Expand Down
12 changes: 0 additions & 12 deletions docs/modules/ROOT/partials/storage-ceph-remove-mon.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,6 @@ kubectl --as=cluster-admin -n syn-rook-ceph-cluster exec -it deploy/rook-ceph-to
kubectl --as=cluster-admin -n syn-rook-ceph-cluster get deploy -l app=rook-ceph-mon
----

. Reset the MON failover timeout
+
[source,bash]
----
kubectl --as=cluster-admin -n syn-rook-ceph-cluster patch cephcluster cluster --type=json \
-p '[{
"op": "replace",
"path": "/spec/healthCheck/daemonHealth/mon",
"value": {}
}]'
----

ifeval::["{mon-argocd-autosync-already-disabled}" != "yes"]
include::partial$enable-argocd-autosync.adoc[]
endif::[]

0 comments on commit d31ee77

Please sign in to comment.