Skip to content

Commit 894b191

Browse files
authored
Merge pull request #108784 from openshift-cherrypick-robot/cherry-pick-108054-to-enterprise-4.18
[enterprise-4.18] OSDOCS-17077: Web console update CQA
2 parents fa14e29 + 104edf9 commit 894b191

7 files changed

Lines changed: 44 additions & 32 deletions

modules/before-updating-ocp.adoc

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,23 @@
66
[id="before-updating-ocp_{context}"]
77
= Before updating the {product-title} cluster
88

9-
Before updating, consider the following:
9+
[role="_abstract"]
10+
Before updating your cluster, you must consider several factors in order to improve the chances of performing a successful update.
1011

11-
* You have recently backed up etcd.
12+
Consider the following information:
13+
14+
* Whether you have recently backed up etcd.
1215
1316
* In `PodDisruptionBudget`, if `minAvailable` is set to `1`, the nodes are drained to apply pending machine configs that might block the eviction process. If several nodes are rebooted, all the pods might run on only one node, and the `PodDisruptionBudget` field can prevent the node drain.
1417
1518
* You might need to update the cloud provider resources for the new release if your cluster uses manually maintained credentials.
1619
1720
* You must review administrator acknowledgement requests, take any recommended actions, and provide the acknowledgement when you are ready.
1821
19-
* You can perform a partial update by updating the worker or custom pool nodes to accommodate the time it takes to update. You can pause and resume within the progress bar of each pool.
22+
* You can perform a partial update by updating the worker or custom pool nodes to accommodate the time it takes to update. You can pause and resume within the progress bar of each pool.
23+
24+
[IMPORTANT]
25+
====
26+
* When an update is failing to complete, the Cluster Version Operator (CVO) reports the status of any blocking components while attempting to reconcile the update. Rolling your cluster back to a previous version is not supported. If your update is failing to complete, contact Red{nbsp}Hat support.
27+
* Using the `unsupportedConfigOverrides` section to modify the configuration of an Operator is unsupported and might block cluster updates. You must remove this setting before you can update your cluster.
28+
====

modules/machine-health-checks-pausing-web-console.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[id="machine-health-checks-pausing-web-console_{context}"]
77
= Pausing a MachineHealthCheck resource by using the web console
88

9-
During the update 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.
9+
[role="_abstract"]
10+
During the update process, nodes in the cluster might become temporarily unavailable. For 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.
1011

1112
.Prerequisites
1213

@@ -15,9 +16,8 @@ During the update process, nodes in the cluster might become temporarily unavail
1516
1617
.Procedure
1718

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:
19+
. On the web console, navigate to *Compute* -> *MachineHealthChecks*.
20+
. For each `MachineHealthCheck` resource, pause the machine health checks by adding the `cluster.x-k8s.io/paused=""` annotation to the resource. For example, to add the annotation to the `machine-api-termination-handler` resource, complete the following steps:
2121
.. Click the Options menu {kebab} next to the `machine-api-termination-handler` and click *Edit annotations*.
2222
.. In the *Edit annotations* dialog, click *Add more*.
2323
.. In the *Key* and *Value* fields, add `cluster.x-k8s.io/paused` and `""` values, respectively, and click *Save*.

modules/update-changing-update-server-web.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
[id="update-changing-update-server-web_{context}"]
77
= Changing the update server by using the web console
88

9+
[role="_abstract"]
10+
You can change the update server your cluster uses to retrieve information about update paths.
11+
912
ifndef::openshift-origin[]
1013
Changing the update server is optional. If you have an OpenShift Update Service (OSUS) installed and configured locally, you must set the URL for the server as the `upstream` to use the local server during updates.
1114
endif::openshift-origin[]
@@ -20,21 +23,21 @@ endif::openshift-origin[]
2023
2124
.Procedure
2225

23-
. Navigate to *Administration* -> *Cluster Settings*, click *version*.
26+
. On the web console, navigate to *Administration* -> *Cluster Settings* and click *version*.
2427
. Click the *YAML* tab and then edit the `upstream` parameter value:
2528
+
26-
.Example output
27-
+
29+
.Example YAML snippet
2830
[source,yaml]
2931
----
3032
...
3133
spec:
3234
clusterID: db93436d-7b05-42cc-b856-43e11ad2d31a
33-
upstream: '<update-server-url>' <1>
35+
upstream: '<update_server_url>'
3436
...
3537
----
36-
<1> The `<update-server-url>` variable specifies the URL for the update server.
3738
+
38-
The default `upstream` is `\https://api.openshift.com/api/upgrades_info/v1/graph`.
39+
Replace `<update_server_url>` with the URL for the update server.
40+
+
41+
The default `upstream` value is `\https://api.openshift.com/api/upgrades_info/v1/graph`.
3942
4043
. Click *Save*.

modules/update-conditional-web-console.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[id="update-conditional-web-console_{context}"]
77
= Viewing conditional updates in the web console
88

9+
[role="_abstract"]
910
You can view and assess the risks associated with particular updates with conditional updates.
1011

1112
.Prerequisites

modules/update-upgrading-web.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ endif::[]
1111
[id="update-upgrading-web_{context}"]
1212
= Updating a cluster by using the web console
1313

14+
[role="_abstract"]
1415
If updates are available, you can update your cluster from the web console.
1516

1617
You can find information about available {product-title} advisories and updates
@@ -49,14 +50,16 @@ endif::openshift-origin[]
4950
[NOTE]
5051
====
5152
When you are ready to move to the next minor version, choose the channel that corresponds to that minor version.
52-
The sooner the update channel is declared, the more effectively the cluster can recommend update paths to your target version.
53+
The sooner you declare the update channel, the more effectively the cluster can recommend update paths to your target version.
5354
The cluster might take some time to evaluate all the possible updates that are available and offer the best update recommendations to choose from.
5455
Update recommendations can change over time, as they are based on what update options are available at the time.
5556

5657
If you cannot see an update path to your target minor version, keep updating your cluster to the latest patch release for your current version until the next minor version is available in the path.
5758
====
58-
** If the *Update status* is not *Updates available*, you cannot update your cluster.
59-
** *Select channel* indicates the cluster version that your cluster is running or is updating to.
59+
+
60+
If the *Update status* is not *Updates available*, you cannot update your cluster.
61+
+
62+
*Select channel* indicates the cluster version that your cluster is running or is updating to.
6063

6164
. Select a version to update to, and click *Save*.
6265
+

modules/update-using-custom-machine-config-pools-canary.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
//
33
// * updating/updating_a_cluster/updating-cluster-web-console.adoc
44

5+
:_mod-docs-content-type: CONCEPT
56
[id="update-using-custom-machine-config-pools-canary_{context}"]
67
= Performing a canary rollout update
78

8-
In some specific use cases, you might want a more controlled update process where you do not want specific nodes updated concurrently with the rest of the cluster. These use cases include, but are not limited to:
9+
[role="_abstract"]
10+
In some specific use cases, you might want a more controlled update process where you do not want specific nodes updated concurrently with the rest of the cluster.
11+
12+
These use cases include, but are not limited to the following situations:
913

1014
* You have mission-critical applications that you do not want unavailable during the update. You can slowly test the applications on your nodes in small batches after the update.
1115
* You have a small maintenance window that does not allow the time for all nodes to be updated, or you have multiple maintenance windows.
@@ -29,4 +33,4 @@ The rolling update process described in this topic involves:
2933
Pausing an MCP should be done with careful consideration and for short periods of time only.
3034
====
3135

32-
//link that follows is in the assembly: updating-cluster-between-minor
36+
If you want to use the canary rollout update process, see "Performing a canary rollout update".

updating/updating_a_cluster/updating-cluster-web-console.adoc

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
////
10-
WARNING: This assembly has been moved into a subdirectory for 4.14+. Changes to this assembly for earlier versions should be done in separate PRs based off of their respective version branches. Otherwise, your cherry picks may fail.
11-
12-
To do: Remove this comment once 4.13 docs are EOL.
13-
////
14-
9+
[role="_abstract"]
1510
You can perform minor version and patch updates on an {product-title} cluster by using the web console.
1611

1712
[NOTE]
@@ -21,12 +16,6 @@ Use the web console or `oc adm upgrade channel _<channel>_` to change the update
2116

2217
include::modules/before-updating-ocp.adoc[leveloffset=+1]
2318

24-
[IMPORTANT]
25-
====
26-
* When an update is failing to complete, the Cluster Version Operator (CVO) reports the status of any blocking components while attempting to reconcile the update. Rolling your cluster back to a previous version is not supported. If your update is failing to complete, contact Red{nbsp}Hat support.
27-
* Using the `unsupportedConfigOverrides` section to modify the configuration of an Operator is unsupported and might block cluster updates. You must remove this setting before you can update your cluster.
28-
====
29-
3019
include::modules/update-changing-update-server-web.adoc[leveloffset=+1]
3120

3221
[role="_additional-resources"]
@@ -54,11 +43,14 @@ include::modules/update-conditional-web-console.adoc[leveloffset=+1]
5443
5544
include::modules/update-using-custom-machine-config-pools-canary.adoc[leveloffset=+1]
5645

57-
If you want to use the canary rollout update process, see xref:../../updating/updating_a_cluster/update-using-custom-machine-config-pools.adoc#update-using-custom-machine-config-pools[Performing a canary rollout update].
46+
[role="_additional-resources"]
47+
.Additional resources
48+
49+
* xref:../../updating/updating_a_cluster/update-using-custom-machine-config-pools.adoc#update-using-custom-machine-config-pools[Performing a canary rollout update]
5850
5951
include::modules/updating-sno.adoc[leveloffset=+1]
6052

6153
[role="_additional-resources"]
6254
.Additional resources
6355

64-
* xref:../../architecture/control-plane.adoc#about-machine-config-operator_control-plane[About the Machine Config Operator].
56+
* xref:../../machine_configuration/index.adoc#about-machine-config-operator_machine-config-index[About the Machine Config Operator]

0 commit comments

Comments
 (0)