Skip to content

Commit d065a60

Browse files
authored
Merge pull request #50870 from abhatt-rh/bz-2058453
BZ-2058453: Add procedure to pause MHC using the web console
2 parents 4a10a0c + 77cd708 commit d065a60

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Module included in the following assemblies:
2+
3+
// * updating/updating-cluster-within-minor.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="machine-health-checks-pausing-web-console_{context}"]
7+
= Pausing a MachineHealthCheck resource by using the web console
8+
9+
During the upgrade process, nodes in the cluster might become temporarily unavailable. In the case of worker nodes, the machine health check might identify such nodes as unhealthy and reboot them. To avoid rebooting such nodes, pause all the `MachineHealthCheck` resources before updating the cluster.
10+
11+
.Prerequisites
12+
13+
* You have access to the cluster with `cluster-admin` privileges.
14+
* You have access to the {product-title} web console.
15+
16+
.Procedure
17+
18+
. Log in to the {product-title} web console.
19+
. Navigate to *Compute* -> *MachineHealthChecks*.
20+
. To pause the machine health checks, add the `cluster.x-k8s.io/paused=""` annotation to each `MachineHealthCheck` resource. For example, to add the annotation to the `machine-api-termination-handler` resource, complete the following steps:
21+
.. Click the Options menu {kebab} next to the `machine-api-termination-handler` and click *Edit annotations*.
22+
.. In the *Edit annotations* dialog, click *Add more*.
23+
.. In the *Key* and *Value* fields, add `cluster.x-k8s.io/paused` and `""` values, respectively, and click *Save*.

updating/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ xref:../updating/preparing-eus-eus-upgrade.adoc#preparing-eus-eus-upgrade[Prepar
3333
xref:../updating/updating-cluster-within-minor.adoc#updating-cluster-within-minor[Updating a cluster using the web console]: You can update an {product-title} cluster by using the web console. The following steps update a cluster within a minor version. You can use the same instructions for updating a cluster between minor versions.
3434

3535
* xref:../updating/updating-cluster-within-minor.adoc#update-using-custom-machine-config-pools-canary_updating-cluster-within-minor[Performing a canary rollout update]
36-
* xref:../updating/updating-cluster-within-minor.adoc#machine-health-checks-pausing_updating-cluster-within-minor[Pausing a MachineHealthCheck resource]
36+
* xref:../updating/updating-cluster-within-minor.adoc#machine-health-checks-pausing-web-console_updating-cluster-within-minor[Pausing a MachineHealthCheck resource]
3737
* xref:../updating/updating-cluster-within-minor.adoc#update-single-node-openshift_updating-cluster-within-minor[About updating {product-title} on a single-node cluster]
3838
* xref:../updating/updating-cluster-within-minor.adoc#update-upgrading-web_updating-cluster-within-minor[Updating a cluster by using the web console]
3939
* xref:../updating/updating-cluster-within-minor.adoc#update-changing-update-server-web_updating-cluster-within-minor[Changing the update server by using the web console]

updating/updating-cluster-within-minor.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ include::modules/manually-maintained-credentials-upgrade.adoc[leveloffset=+1]
4949
* xref:../installing/installing_azure/manually-creating-iam-azure.adoc[Manually creating IAM for Azure]
5050
* xref:../installing/installing_gcp/manually-creating-iam-gcp.adoc[Manually creating IAM for GCP]
5151

52-
include::modules/machine-health-checks-pausing.adoc[leveloffset=+1]
52+
include::modules/machine-health-checks-pausing-web-console.adoc[leveloffset=+1]
5353

5454
include::modules/updating-sno.adoc[leveloffset=+1]
5555

0 commit comments

Comments
 (0)