Upgrade Kontena Pharos Cluster
When new versions of Kontena Pharos are released, you can upgrade your existing cluster to apply the latest enhancements and bug fixes. This includes upgrading from previous minor versions, such as release 2.2.x to 2.3.y, and applying asynchronous errata updates within a minor version (2.3.z releases). See the Kontena Pharos Release Notes to review the latest changes.
Unless noted otherwise, worker and masters within a major version are forward and backward compatible across one minor version, so upgrading your cluster should go smoothly. Please note: downgrades are NOT supported!
Upgrades are done in parallel unless
pharosnotices unsafe operations (like a container runtime upgrade). In those cases upgrade will be rolled out so that ~90% of hosts will be available.
1. Install new version of
pharos CLI tool
chpharos to install and use new version of
pharos CLI tool. For example install and use version 2.3.5 of Kontena Pharos:
$ chpharos install 2.3.5 $ chpharos use 2.3.5
HINT: You can see the list of all available versions using
chpharos list-remote command.
2. Apply upgrade to your cluster
Once you have switched the
pharos CLI tool to new version, simply run
pharos up command with your cluster specific
cluster.yml configuration file. For example:
$ pharos up -c cluster.yml
We hope it was smooth experience. If you encounter any issues or trouble, please let us know!