---
title: "Update Kubernetes version"
sidebar_label: "Update Kubernetes version"
sidebar_position: 8
description: "How to update patch and minor Kubernetes versions"
---

import Formbricks from '@theme/MDXComponents/Formbricks';

# Update Kubernetes version

## Update patch version \{#update-patch-release}

:::info

Automatic patch version updates are not available:

* for clusters on dedicated servers;
* for basic clusters on cloud servers;
* for high-availability clusters on cloud servers with fewer than two worker nodes.

:::

:::danger

All nodes will be reinstalled during the update. All data on the boot volume will be deleted.

:::

Kubernetes patch versions contain bug fixes and security vulnerability patches for a Kubernetes minor version. They are compatible with each other within the same minor version.

If automatic patch version updates are enabled, the cluster will be updated to the latest available patch version during the next [cluster maintenance window](/managed-kubernetes/clusters/set-up-maintenance-window.mdx).

You can enable automatic patch version updates when [creating a cluster](/managed-kubernetes/create/create-cloud-cluster.mdx) or for an already created cluster.

1. In the [control panel](https://my.selectel.ru/mks/), on the top menu, click **Products** and select **Managed Kubernetes**.
2. In the **Clusters** section, open the cluster page → **Settings** tab.
3. In the **Automation** block, enable auto-update for patch versions.

## Update minor version \{#update-minor-release}

:::info

Updating the minor version is not available for Managed Kubernetes clusters on dedicated servers.

:::

:::danger

All nodes will be reinstalled during the update. All data on the boot volume will be deleted.

:::

A Kubernetes minor version can be updated manually. First, the master nodes will be updated sequentially, followed by the worker nodes. The update may take from 30 minutes to 12 hours, depending on the cluster size. Once the update has started, it cannot be stopped.

1. In the [control panel](https://my.selectel.ru/mks/), on the top menu, click **Products** and select **Managed Kubernetes**.
2. In the **Clusters** section, open the cluster page → **Settings** tab.
3. In the **Cluster settings** block, click **Show available versions**.
4. Select the version to update to.
5. Optional: to view the version change history in the official Kubernetes documentation, click **Version change history**.
6. Click **Update**.

<Formbricks />
