You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/rosa-hcp-upgrade-options.adoc
+7-10Lines changed: 7 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,21 @@ In OpenShift, upgrading means provisioning a new component with updated software
6
6
7
7
You can control the impact of upgrades to your workload by controlling which parts of the cluster are upgraded, for example:
8
8
9
-
Upgrade only the hosted control plane:: This does not impact your worker nodes.
9
+
Upgrade only the hosted control plane:: This initiates upgrade of the hosted control plane. It does not impact your worker nodes.
10
10
11
-
Upgrade nodes in a single machine pool:: This initiates a rolling replacement of nodes in the specified machine pool, and temporarily impacts the worker nodes on that machine pool. This does not impact nodes on other machine pools in the cluster.
11
+
Upgrade nodes in a machine pool:: This initiates a rolling replacement of nodes in the specified machine pool, and temporarily impacts the worker nodes on that machine pool. You can also upgrade multiple machine pools concurrently.
12
12
13
-
Upgrade nodes in multiple machine pools simultaneously:: This initiates a rolling replacement of nodes in the specified machine pools, and temporarily impacts the worker nodes on those machine pools. You can run this type of upgrade as a single command, or as multiple commands.
13
+
[IMPORTANT]
14
+
====
15
+
You cannot upgrade the hosted control plane at the same time as any machine pool upgrade.
16
+
====
14
17
15
-
Upgrade the whole cluster in sequence:: This initiates upgrade of the hosted control plane, followed by a rolling replacement of nodes in the specified machine pools. These upgrades occur in sequence because the hosted control plane and the machine pools cannot be upgraded at the same time. When an upgrade of the hosted control plane is in progress, nodes in the machine pools cannot be upgraded. When upgrade is in progress for nodes in the machine pools, the hosted control plane cannot be upgraded.
16
-
+
17
18
[IMPORTANT]
18
19
====
19
20
To maintain compatibility between nodes in the cluster, nodes in machine pools cannot use a newer version than the hosted control plane. This means that the hosted control plane should always be upgraded to a given version before any machine pools are upgraded to the same version.
20
21
====
21
22
22
-
The time required to upgrade the hosted control plane varies depending on your workload configuration.
23
-
24
-
The time required to upgrade a machine pool varies according to the number of worker nodes in the machine pool (`--replicas` or `--max-replicas`).
25
-
26
-
You can further control the time required for an upgrade, and the impact of an upgrade to your workload, by editing the `--max-surge` and `--max-unavailable` values for each machine pool. These options control the number of nodes that can be upgraded simultaneously, and whether an upgrade provisions excess nodes or makes some existing nodes unavailable or both, for example:
23
+
You can further control the time required for a machine pool upgrade, and the impact of an upgrade to your workload, by editing the `--max-surge` and `--max-unavailable` values for each machine pool. These options control the number of nodes that can be upgraded simultaneously on a machine pool, and whether an upgrade provisions excess nodes or makes some existing nodes unavailable or both, for example:
27
24
28
25
* **To prioritize high workload availability**, you can provision excess nodes instead of making existing nodes unavailable by setting a higher value for `--max-surge` and setting `--max-unavailable` to `0`.
29
26
* **To prioritize lower infrastructure costs**, you can make some existing nodes unavailable and avoid provisioning excess nodes by setting a higher value for `--max-unavailable` and setting `--max-surge` to `0`.
You can manually upgrade one or more machine pools in a {hcp-title} cluster by using the ROSA CLI. This method schedules the specified machine pools for an upgrade if a more recent version is available, either immediately, or at a specified future time.
13
+
You can manually upgrade one or more machine pools in a {hcp-title} cluster by using the ROSA CLI. This method schedules the specified machine pool for an upgrade if a more recent version is available, either immediately, or at a specified future time.
When your hosted control plane upgrade is complete, you can upgrade one or more machine pools simultaneously.
30
+
When your hosted control plane upgrade is complete, you can upgrade one or more machine pools.
31
31
endif::[]
32
32
//END WHOLE CLUSTER condition
33
33
@@ -85,7 +85,7 @@ Do not upgrade your machine pool to a version higher than your control plane. If
85
85
+
86
86
[source,terminal]
87
87
----
88
-
$ rosa describe machinepool --cluster=<cluster_name_or_id> <machine_pool_name>
88
+
$ rosa describe machinepool --cluster=<cluster_name_or_id> <machinepool_name>
89
89
----
90
90
+
91
91
.Example output
@@ -102,32 +102,32 @@ Management upgrade:
102
102
+
103
103
In the example, these settings allow the machine pool to provision one excess node (`max-surge` of 20% of `replicas`) and to have up to one node unavailable (`max-unavailable` of 20% of `replicas`) during an upgrade. This machine pool can therefore upgrade two nodes at a time, by provisioning one new node in excess of the replica count, and by making one node unavailable and replacing it. Node upgrades may be delayed by up to 30 minutes (`node-drain-grace-period` of 30 minutes) if necessary to protect workloads that have a pod disruption budget.
104
104
105
-
. Upgrade one or more of your machine pools by running the following command:
105
+
. Upgrade a machine pool by running the following command:
Multiple machine pools can be upgraded simultaneously. You can schedule machine pool upgrades individually or schedule multiple upgrades in a single command.
112
+
You can upgrade multiple machine pools concurrently by running this command for each machine pool you want to upgrade.
113
113
114
-
** To schedule the immediate upgrade of a specific machine pool on your cluster, run the following command:
114
+
** To schedule the immediate upgrade of a machine pool:
115
115
+
116
116
[source,terminal]
117
117
----
118
-
$ rosa upgrade machinepool -c <cluster_name> <your_machine_pool_id> --version <version_number>
118
+
$ rosa upgrade machinepool -c <cluster_name> <machinepool_name> --version <version_number>
119
119
----
120
120
+
121
-
Your machine pool is scheduled for immediate upgrade, which initiates a rolling replacement of all nodes in the specified machine pool.
121
+
The machine pool is scheduled for immediate upgrade, which initiates a rolling replacement of all nodes in the specified machine pool.
122
122
123
-
** To schedule an upgrade of multiple machine pools to start at a future date, run the following command:
123
+
** To schedule an upgrade to start at a future time:
Your machine pools are scheduled to begin an upgrade at the specified time and date in Coordinated Universal Time (UTC). This will initiate a rolling replacement of all nodes in the specified machine pools, beginning at the specified time.
130
+
The machine pool is scheduled to begin an upgrade at the specified time and date in Coordinated Universal Time (UTC). This will initiate a rolling replacement of all nodes in the specified machine pool, beginning at the specified time.
131
131
132
132
.Troubleshooting
133
133
* Sometimes a scheduled upgrade does not initiate. See link:https://access.redhat.com/solutions/6648291[Upgrade maintenance canceled] for more information.
// Your hosted control plane and machine pools are now scheduled for an upgrade.
104
94
105
95
.Troubleshooting
106
96
* Sometimes a scheduled upgrade does not initiate. See link:https://access.redhat.com/solutions/6648291[Upgrade maintenance cancelled] for more information.
0 commit comments