Update Kubernetes version
In a Managed Kubernetes cluster, you can:
- update the minor version;
- enable auto-updates for patch versions — Kubernetes patch versions contain bug fixes and security vulnerability patches for a minor Kubernetes version. They are compatible with each other within the same minor version.
Update minor version
When updating a Managed Kubernetes cluster on cloud servers, all nodes will be reinstalled. All data on the boot disk will be deleted.
In Managed Kubernetes clusters on dedicated servers, master nodes will be restarted one by one, followed by worker nodes. The update may take from 30 minutes to 12 hours — the duration depends on the cluster size. Once started, the update cannot be stopped.
- In the Control panel, on the top menu, click Products and select Managed Kubernetes.
- In the Clusters section, open the cluster page → Settings.
- In the Cluster settings block, click Show available versions.
- Select a version to update to.
- Optional: to view the version change history in the official Kubernetes documentation, click Change history for version.
- Click Update.
Enable auto-updates for patch versions
Auto-updates for patch versions are not available:
- in basic clusters;
- in fault-tolerant clusters with fewer than two worker nodes.
When updating a Managed Kubernetes cluster on cloud servers, all nodes will be reinstalled. All data on the boot disk will be deleted.
In Managed Kubernetes clusters on dedicated servers, master nodes will be restarted one by one, followed by worker nodes. The update may take from 30 minutes to 12 hours — the duration depends on the cluster size. Once started, the update cannot be stopped.
The cluster will be updated to the latest available patch version during the next cluster maintenance window.
You can enable auto-updates for patch versions when creating a cluster or for an existing cluster.
To enable auto-updates for patch versions:
- In the Control panel, on the top menu, click Products and select Managed Kubernetes.
- In the Clusters section, open the cluster page → Settings.
- In the Automation block, turn on the Auto-update patch versions.