Upgrading an existing MKE 4k cluster#
The current upgrade paths for MKE 4k clusters are detailed below:
Source version | Target version | mkectl version required |
---|---|---|
4.1.0 | 4.1.1 | 4.1.1 |
Info
As MKE 4.1.0 is built on an alpha version of k0rdent, upgrading from that MKE 4k version involves a complete reinstallation of MKE 4k and k0rdent, resulting in a more prolonged upgrade process.
To upgrade your MKE 4k cluster:
-
Verify that you have the latest version of the mkectl binary. For information on how to download and install mkectl, refer to Install the MKE 4k CLI.
-
Back up etcd prior to initiating the upgrade.
Info
If you do not provide a path to an etcd backup as part of the
mkectl upgrade
command, mkectl automatically generates a pre-upgrade backup prior to initiating the upgrade. -
Run the upgrade.
mkectl upgrade --upgrade-version <version_to_upgrade_to> \ --etcd-snapshot-path <path_to_pre-upgrade_snapshot>