forked from acowles-redhat/rh1-hcp-lab-2025
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55cd832
commit f2b884c
Showing
26 changed files
with
128 additions
and
25 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+233 KB
content/modules/ROOT/assets/images/upgrade/admin_overview_upgrade_complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+185 KB
content/modules/ROOT/assets/images/upgrade/cluster_details_upgrade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+170 KB
content/modules/ROOT/assets/images/upgrade/cluster_version_progressing_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+167 KB
content/modules/ROOT/assets/images/upgrade/cluster_version_progressing_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+158 KB
content/modules/ROOT/assets/images/upgrade/control_plane_status_upgrade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+147 KB
content/modules/ROOT/assets/images/upgrade/control_plane_status_upgrading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+159 KB
content/modules/ROOT/assets/images/upgrade/control_plane_upgrade_complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+222 KB
content/modules/ROOT/assets/images/upgrade/left_menu_cluster_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
= Upgrade the Hosted Cluster | ||
|
||
Another reason to deploy Red Hat Cluster Management for Kuberentes (RHACM) for the deployment and management of hosted clusters is for fleet management. The upgrade process for a hosted control planes cluster is a little different from that of standalone clusters. In this module we will explore the upgrade process, and then apply an upgrade to our cluster. | ||
|
||
IMPORTANT: This lab was created in the late fall prior to the release of OpenShift 4.18. While the images in the lab guide may not match exactly the lab environment in front of you, the lab tasks remain and function the same. | ||
|
||
[[review-upgrade]] | ||
== Review the Upgrade Process | ||
|
||
. Lets start out by logging into our hosted cluster. Select the *Console URL* from the *Cluster details* section of *All Clusters* and click on the link. | ||
+ | ||
image::upgrade/cluster_details.png[link=self, window=blank, width=100%] | ||
|
||
. Log in with the *myuser* administrative account using the password *R3dH4t1!*. | ||
+ | ||
image::upgrade/hosted_cluster_login.png[link=self, window=blank, width=100%] | ||
|
||
. You will be presented with the Administrator Overview, but there is something different from a standard cluster. In the *Details* panel take notice of the *Update Channel*. | ||
+ | ||
image::upgrade/admin_overview.png[link=self, window=blank, width=100%] | ||
|
||
. Let us see if we can configure an update channel to provide updates to our cluster. In the left-side menu click on *Administration* and from the drop down select *Cluster Settings*. | ||
+ | ||
image::upgrade/left_menu_cluster_settings.png[link=self, window=blank, width=100%] | ||
|
||
. On the *Cluster Settings* page we see that the *Update status* confirms that no channel is configured, we and that we are not able to set the channel, because the control plane is hosted. | ||
+ | ||
image::upgrade/update_channel.png[link=self, window=blank, width=100%] | ||
|
||
. Close the tab for the hosted cluster, and return to the hosting cluster and the *Cluster details* panel. You will see that there are several ways to initiate the cluster upgrade. | ||
|
||
. For starters, from the *Cluster details* panel, and the *Actions* drop down menu available there. | ||
+ | ||
image::upgrade/cluster_details_upgrade.png[link=self, window=blank, width=100%] | ||
|
||
. If we scroll up the page, we will see another optional place to kick off the upgrade process. | ||
+ | ||
image::upgrade/control_plane_status_upgrade.png[link=self, window=blank, width=100%] | ||
|
||
. And if we migrate to the very top of the clusters view we find two more ways to update our cluster specifically, both with the *Distribution version* column, and by clicking on the three-dot menu. | ||
+ | ||
image::upgrade/cluster_list_upgrade.png[link=self, window=blank, width=100%] | ||
|
||
. Something else you may notice from this screen as well, is the ability for full fleet upgrade, provided by RHACM. By selecting the check box next to each cluster you want to upgrade you can select upgrade channels for each, and schedule them all to upgrade simultaneously, or at specific intervals. | ||
+ | ||
image::upgrade/multi_cluster_upgrade.png[link=self, window=blank, width=100%] | ||
|
||
|
||
[[apply-upgrade]] | ||
== Apply the Cluster Upgrade | ||
|
||
. Now that we have explored how to being our cluster upgrade process from our hosted cluster environment, lets kick off an upgrade process. | ||
|
||
. Starting from the *Cluster list* lets click on the link for *Upgrade available* for our hosted cluster. | ||
+ | ||
image::upgrade/upgrade_available.png[link=self, window=blank, width=100%] | ||
|
||
. A new window appears with a drop-down menu allowing you to select from a number of acceptable release versions, from the latest z release of your current version, to the latest version of OpenShift available. Select the latest version, in our case 4.17.6, and click the blue *upgrade* button. | ||
+ | ||
image::upgrade/upgrade_version.png[link=self, window=blank, width=100%] | ||
+ | ||
NOTE: If you notice, it's quite possible to select an upgrade version for your hosted cluster that is greater than your hosting cluster. This option gives you maximum flexibility for your deployments. | ||
|
||
. We see the message under *Distribution version* has a rolling wheel and a message that we are currently upgrading. If we want additional details about the process, we can click on *my-hosted-cluster*. | ||
+ | ||
image::upgrade/cluster_upgrading.png[link=self, window=blank, width=100%] | ||
|
||
. On the *Control plane status* we see the same rolling wheel and upgrading message, as well as live updates as each control plane component is upgraded. | ||
+ | ||
image::upgrade/control_plane_status_upgrading.png[link=self, window=blank, width=100%] | ||
|
||
. The upgrade process can take several minutes, but you will find that it is often much quicker than upgrading a full OpenShift cluster. | ||
|
||
. You can also see that it follows strict procedure while upgrading to cycle through control plane components one at a time to ensure cluster availability. | ||
+ | ||
image::upgrade/kube_api_degraded.png[link=self, window=blank, width=100%] | ||
|
||
. Along the way we will recieve live updates as the upgrade process progresses. | ||
+ | ||
image::upgrade/cluster_version_progressing_1.png[link=self, window=blank, width=100%] | ||
+ | ||
image::upgrade/cluster_version_progressing_2.png[link=self, window=blank, width=100%] | ||
|
||
. When the upgrade is complete we will see the *Control plane status* update to show the current version. | ||
+ | ||
image::upgrade/control_plane_upgrade_complete.png[link=self, window=blank, width=100%] | ||
|
||
. We can also login to our hosted cluster and see that it shows the upgraded version on the Administrator overview console. | ||
+ | ||
image::upgrade/admin_overview_upgrade_complete.png[link=self, window=blank, width=100%] | ||
|
||
== Summary | ||
|
||
In this module we explored how the upgrade of an OpenShift on OpenShift with Hosted Control Planes cluster differs from a standalone deployment. After exploring our various upgrade options we kicked off an upgrade process to the latest version of OpenShift. |