---
title: "Configure auto-recovery and reinstall nodes in a Managed Kubernetes cluster"
sidebar_label: "Configure auto-recovery and reinstall nodes"
sidebar_position: 12
description: "How to enable node auto-recovery and reinstall nodes manually"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import MoreVerticalIcon from 'docs-kit/icons/more-vertical'

# Configure auto-recovery and reinstall nodes in a Managed Kubernetes cluster

When a node is reinstalled, its operating system is reinstalled, and all data on the boot disk will be deleted. Reinstalling all nodes in a group can be performed automatically via node auto-recovery—immediately for all nodes in a cluster. You can reinstall one or several nodes manually.

## Configure node auto-recovery \{#node-self-healing}

:::info

Auto-recovery is unavailable:

* in a Managed Kubernetes cluster with a single worker node;
* in a node group on dedicated servers.

:::

:::danger

When a node undergoes auto-recovery, all data on the boot disk will be deleted.

:::

When the auto-recovery option is enabled, worker nodes will be automatically reinstalled if they do not respond to health checks for approximately 15 minutes. During the recovery process, pods stop running on the unresponsive node and are redistributed to other nodes. Auto-recovery works for all nodes in the cluster simultaneously.

Node auto-recovery can be enabled when [creating a cluster](/managed-kubernetes/create/create-cloud-cluster.mdx) or for an existing 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 **Node auto-healing**.

## Reinstall nodes manually \{#reinstall-nodes-manually}

:::danger

When a node is reinstalled, all data on the boot disk will be deleted.

:::

You can reinstall each node manually.

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 → **Cluster Composition** tab.
3. In the node <MoreVerticalIcon /> menu, select **Reinstall**.

<Formbricks />
