Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b72c1ca

Browse files
committedMay 31, 2022
changes to upgrade openshift article
1 parent fc6a653 commit b72c1ca

File tree

1 file changed

+59
-15
lines changed

1 file changed

+59
-15
lines changed
 

‎articles/openshift/howto-upgrade.md

Lines changed: 59 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,77 @@ description: Learn how to upgrade an Azure Red Hat OpenShift cluster running Ope
44
ms.service: azure-redhat-openshift
55
ms.topic: article
66
ms.date: 1/10/2021
7-
author: sakthi-vetrivel
8-
ms.author: suvetriv
9-
keywords: aro, openshift, az aro, red hat, cli
7+
author: rahulm23
8+
ms.author: rahulmehta
9+
keywords: aro, openshift, az aro, red hat, cli, azure, MUO, managed, upgrade, operator
10+
#Customer intent: I need to understand how to upgrade my Azure Red Hat OpenShift cluster running OpenShift 4.
1011
---
1112

12-
# Upgrade an Azure Red Hat OpenShift (ARO) cluster
13+
# Upgrade an Azure Red Hat OpenShift cluster
1314

14-
Part of the ARO cluster lifecycle involves performing periodic upgrades to the latest OpenShift version. It is important you apply the latest security releases, or upgrade to get the latest features. This article shows you how to upgrade all components in an OpenShift cluster using the OpenShift Web Console.
15+
As part of the Azure Red Hat OpenShift cluster lifecycle, you need to perform periodic upgrades to the latest version of the OpenShift platform. Upgrading your Azure Red Hat OpenShift clusters enables you to upgrade to the latest features and functionalities and apply the latest security releases.
16+
17+
This article shows you how to upgrade all components in an OpenShift cluster using the OpenShift web console or the managed-upgrade-operator (MUO).
1518

1619
## Before you begin
1720

18-
This article requires that you're running the Azure CLI version 2.0.65 of later. Run `az --version` to find your current version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli)
21+
* This article requires that you're running the Azure CLI version 2.6.0 or later. Run `az --version` to find your current version. If you need to install or upgrade Azure CLI/it, see [Install Azure CLI](/cli/azure/install-azure-cli).
22+
23+
* This article assumes you have access to an existing Azure Red Hat OpenShift cluster as a user with `admin` privileges.
24+
25+
* This article assumes you've updated your Azure Red Hat OpenShift pull secret for an existing Azure Red Hat OpenShift 4.x cluster. Including the **cloud.openshift.com** entry from your pull secret enables your cluster to start sending telemetry data to Red Hat.
26+
27+
For more information, see [Add or update your Red Hat pull secret on an Azure Red Hat OpenShift 4 cluster](howto-add-update-pull-secret.md).
28+
29+
## Check for Azure Red Hat OpenShift cluster upgrades
30+
31+
1. From the top-left of the OpenShift web console, which is the default when you sign as the kuberadmin, select the **Administration** tab.
32+
33+
2. Select **Cluster Settings** and open the **Details** tab. You'll see the version, update status, and channel. The channel isn't configured by default.
34+
35+
3. Select the **Channel** link, and at the prompt enter the desired update channel, for example **stable-4.10**. Once the desired channel is chosen, a graph showing available releases and channels is displayed. If the **Update Status** for your cluster shows **Updates Available**, you can update your cluster.
36+
37+
## Upgrade your Azure Red Hat OpenShift cluster with the OpenShift web console
38+
39+
From the OpenShift web console in the previous step, set the **Channel** to the correct channel for the version that you want to update to, such as `stable-4.10`.
40+
41+
Selection a version to update to, and select **Update**. You'll see the update status change to: `Update to <product-version> in progress`. You can review the progress of the cluster update by watching the progress bars for the operators and nodes.
42+
43+
## Scheduling individual upgrades using the managed-upgrade-operator
44+
45+
Use the managed-upgrade-operator (MUO) to upgrade your Azure Red Hat OpenShift cluster.
1946

20-
This article assumes you have access to an existing Azure Red Hat OpenShift cluster as a user with `admin` privileges.
47+
The managed-upgrade-operator manages automated cluster upgrades. The managed-upgrade-operator starts the cluster upgrade, but it doesn't perform any activities of the cluster upgrade process itself. The OpenShift Container Platform (OCP) is responsible for upgrading the clusters. The goal of the managed-upgrade-operator is to satisfy the operating conditions that a managed cluster must hold, both before and after starting the cluster upgrade.
2148

22-
## Check for available ARO cluster upgrades
49+
1. Prepare the configuration file, as shown in the following example for upgrading to OpenShift 4.10.
2350

24-
From the OpenShift web console, select **Administration** > **Cluster Settings** and open the **Details** tab.
51+
```
52+
apiVersion: upgrade.managed.openshift.io/v1alpha1
53+
kind: UpgradeConfig
54+
metadata:
55+
name: managed-upgrade-config
56+
namespace: openshift-managed-upgrade-operator
57+
spec:
58+
type: "ARO"
59+
upgradeAt: "2022-02-08T03:20:00Z"
60+
PDBForceDrainTimeout: 60
61+
desired:
62+
channel: "stable-4.10"
63+
version: "4.10.10"
64+
```
2565

26-
If the **Update Status** for your cluster reflects **Updates Available**, you can update your cluster.
66+
where:
2767

28-
## Upgrade your ARO cluster
68+
* `channel` is the channel the configuration file will pull from, according to the lifecycle policy. The channel used should be `stable-4.10`.
69+
* `version` is the version that you wish to upgrade to, such as `4.10.10`.
70+
* `upgradeAT` is the time when the upgrade will take place.
2971

30-
From the web console in the previous step, set the **Channel** to the correct channel for the version that you want to update to, such as `stable-4.5`.
72+
2. Apply the configuration file:
3173

32-
Selection a version to update to, and select **Update**. You'll see the update status change to: `Update to <product-version> in progress`. You can review the progress of the cluster update by watching the progress bars for the Operators and nodes.
74+
```azurecli-interactive
75+
$ oc create -f <file_name>.yaml
76+
```
3377

3478
## Next steps
35-
- [Learn to upgrade an ARO cluster using the OC CLI](https://docs.openshift.com/container-platform/4.5/updating/updating-cluster-between-minor.html)
36-
- You can find information about available OpenShift Container Platform advisories and updates in the [errata section](https://access.redhat.com/downloads/content/290/ver=4.6/rhel---8/4.6.0/x86_64/product-errata) of the Customer Portal.
79+
- [Learn to upgrade an Azure Red Hat OpenShift cluster using the OC CLI](https://docs.openshift.com/container-platform/4.10/updating/index.html).
80+
- You can find information about available OpenShift Container Platform advisories and updates in the [errata section](https://access.redhat.com/downloads/content/290/ver=4.10/rhel---8/4.10.13/x86_64/product-software) of the Customer Portal.

0 commit comments

Comments
 (0)
Please sign in to comment.