Skip to content

Commit 92ee998

Browse files
authored
Merge pull request #85588 from fmcdonal/OSDOCS-11772
OSDOCS-11772: Upgrade ROSA with HCP cluster through Openshift Cluster manager console
2 parents 23884fa + 4d97d34 commit 92ee998

File tree

4 files changed

+33
-7
lines changed

4 files changed

+33
-7
lines changed

modules/rosa-deleting-cluster-upgrade-ocm.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// * upgrading/rosa_upgrading/rosa-upgrading-sts.adoc
44
:_mod-docs-content-type: PROCEDURE
55
[id="rosa-deleting-cluster-upgrade-ocm_{context}"]
6-
= Deleting a ROSA cluster upgrade with the {cluster-manager} console
6+
= Deleting an upgrade with the {cluster-manager} console
77

88
You can use the {cluster-manager} console to delete a scheduled upgrade.
99

modules/rosa-hcp-upgrading-cli-machinepool.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ When your hosted control plane upgrade is complete, you can upgrade one or more
3131
endif::[]
3232
//END WHOLE CLUSTER condition
3333

34+
[NOTE]
35+
====
36+
Machine pool configurations such as node drain timeout, max-unavailable, and max-surge can affect the timing and success of upgrades.
37+
====
38+
3439
.Procedure
3540
. Verify the current version of your cluster by running the following command:
3641
+
@@ -85,7 +90,7 @@ Do not upgrade your machine pool to a version higher than your control plane. If
8590
+
8691
[source,terminal]
8792
----
88-
$ rosa describe machinepool --cluster=<cluster_name_or_id> <machinepool_name>
93+
$ rosa describe machinepool --cluster=<cluster_name_or_id> <machinepool_name>
8994
----
9095
+
9196
.Example output

modules/rosa-upgrading-manual-ocm.adoc

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
// * rosa_upgrading/rosa-upgrading.adoc
44
// * rosa_upgrading/rosa-upgrading-sts.adoc
55

6+
// adding this ifeval hcp-in-rosa when a hcp procedure appears in the rosa distro as well as the hcp distro
7+
8+
ifdef::openshift-rosa[]
9+
ifeval::["{context}" == "rosa-hcp-upgrading"]
10+
:hcp-in-rosa:
11+
endif::[]
12+
endif::openshift-rosa[]
13+
614
ifeval::["{context}" == "rosa-upgrading-sts"]
715
:sts:
816
endif::[]
@@ -11,7 +19,7 @@ endif::[]
1119
[id="rosa-upgrade-ocm_{context}"]
1220
= Upgrading with the {cluster-manager} console
1321

14-
You can schedule upgrades for a ROSA (classic architecture) cluster manually either one time or on a recurring schedule by using {cluster-manager} console.
22+
You can schedule upgrades for a ROSA cluster manually either one time or on a recurring schedule by using {cluster-manager} console.
1523

1624
.Procedure
1725

@@ -20,20 +28,20 @@ You can schedule upgrades for a ROSA (classic architecture) cluster manually eit
2028
. Click the *Settings* tab.
2129
. In the *Update strategy* pane, select which type of update you want:
2230
** For individual updates, you can request the upgrade either immediately (to start within an hour) or at a future time.
23-
** For recurring updates, choose a recurring date and time to start the upgrade automatically to the latest x.y.Z (z-stream) version available.
31+
** For recurring updates, select a recurring date and time to start the upgrade automatically to the latest x.y.Z (z-stream) version available.
2432
+
2533
[IMPORTANT]
2634
====
2735
Recurring updates are applicable only for z-stream updates. Minor version or y-stream updates need to be done manually. You will be notified when a new y-stream update is available.
2836
====
29-
+
37+
ifndef::hcp-in-rosa,openshift-rosa-hcp[]
3038
. Optional: In the *Node draining* pane, select a grace period interval from the list. The grace period enables the nodes to gracefully drain before forcing the pod eviction. The default is *1 hour*.
3139
+
3240
[IMPORTANT]
3341
====
3442
You cannot change the node drain grace period after you start the upgrade process.
3543
====
36-
+
44+
endif::[]
3745
. In the *Update strategy* pane, click *Save* to apply your update strategy.
3846
. In the *Update status* pane, review the *Update available* information and click *Update*.
3947
+
@@ -60,4 +68,12 @@ The cluster is scheduled for an upgrade to the target version. This action can t
6068
The status is displayed in the *Update status* pane.
6169

6270
.Troubleshooting
63-
* Sometimes a scheduled upgrade does not trigger. See link:https://access.redhat.com/solutions/6648291[Upgrade maintenance cancelled] for more information.
71+
* Sometimes a scheduled upgrade does not trigger. See link:https://access.redhat.com/solutions/6648291[Upgrade maintenance cancelled] for more information.
72+
73+
ifeval::["{context}" == "rosa-upgrading-sts"]
74+
:!sts:
75+
endif::[]
76+
77+
ifeval::["{context}" == "rosa-hcp-upgrading"]
78+
:!hcp-in-rosa:
79+
endif::[]

upgrading/rosa-hcp-upgrading.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ ifndef::prevcontext[:!context:]
6565
//LB: Remove until here if we don't want the "whole cluster" upgrade section
6666

6767
include::modules/rosa-hcp-upgrading-cli-tutorial.adoc[leveloffset=+1]
68+
69+
include::modules/rosa-upgrading-manual-ocm.adoc[leveloffset=+1]
70+
71+
include::modules/rosa-deleting-cluster-upgrade-ocm.adoc[leveloffset=+1]
72+

0 commit comments

Comments
 (0)