Upgrading the Kubernetes Version on Master Nodes in a Cluster
When Container Engine for Kubernetes supports a newer version of Kubernetes than the version currently running on the master nodes in a cluster, you can upgrade the Kubernetes version running on the master nodes.
After you’ve upgraded master nodes to a newer Kubernetes version, you can’t downgrade the master nodes to an earlier Kubernetes version. It’s therefore important that before you upgrade the Kubernetes version running on the master nodes, you test that applications deployed on the cluster are compatible with the new Kubernetes version.
Using the Console
To upgrade the version of Kubernetes running on the master nodes:
- In the Console, open the navigation menu. Under Solutions and Platform, go to Developer Services and click Kubernetes Clusters.
Choose a Compartment you have permission to work in.
On the Cluster List page, click the name of the cluster where you want to upgrade the Kubernetes version running on the master nodes.
If a newer Kubernetes version is available than the one running on the master nodes in the cluster, the Upgrade button is enabled at the top of the Cluster page.
- Click Upgrade to upgrade the master nodes to a newer version.
- In the Upgrade Cluster Master dialog box, select the Kubernetes version to which to upgrade the master nodes, and click Upgrade.
The Kubernetes version running on the master nodes is upgraded. From now on, the new Kubernetes version will appear as an option when you’re defining new node pools for the cluster.
Using the API
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Use the UpdateCluster operation to upgrade the version of Kubernetes running on the master nodes.