1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/learning-getting-started-upgrading-cli.adoc

45 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * rosa_learning/creating_cluster_workshop/learning-getting-started-support.adoc
:_mod-docs-content-type: PROCEDURE
[id="learning-getting-started-upgrading-cli_{context}"]
= Manually upgrading your cluster using the CLI
[role="_abstract"]
You can upgrade your cluster by using {rosa-cli}.
.Procedure
. Check if there is an upgrade available by running the following command:
+
[source,terminal]
----
$ rosa list upgrade -c <cluster-name>
----
+
.Example output
+
[source,terminal]
----
$ rosa list upgrade -c <cluster-name>
VERSION NOTES
4.14.7 recommended
4.14.6
...
----
+
In the above example, versions 4.14.7 and 4.14.6 are both available.
. Schedule the cluster to upgrade within the hour by running the following command:
+
[source,terminal]
----
$ rosa upgrade cluster -c --control-plane <cluster-name> --version <desired-version>
----
. *Optional:* Schedule the cluster to upgrade at a later date and time by running the following command:
+
[source,terminal]
----
$ rosa upgrade cluster -c <cluster-name> --version <desired-version> --schedule-date <future-date-for-update> --schedule-time <future-time-for-update>
----