> For the complete documentation index, see [llms.txt](https://utm-1.gitbook.io/utm-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://utm-1.gitbook.io/utm-docs/dokumentaciya/utm-it/resheniya/kubernetes/obsluzhivanie-klastera/obnulenie-klastera.md).

# Обнуление кластера

{% hint style="danger" %}
Обнуление выполнять только при крайней необходимости.

После выполнения обнуления каждая из нод будет пустой и будет требовать либо новой инициализации кластера с последующим присоединением нод, либо если обнуляется конкретная нода, то потребуется её присоединение к кластеру
{% endhint %}

## Обнуление одного узла master или worker

На выбранном узле необходимо выполнить команду

```bash
kubeadm reset --cri-socket unix:///var/run/crio/crio.sock
```

После обнуления можно повторно [присоединить ](/utm-docs/dokumentaciya/utm-it/resheniya/kubernetes/obsluzhivanie-klastera/prisoedinenie-uzlov-k-klasteru.md)узел к кластеру.

## Обнуление всего кластера

На всех узлах кластера выполнить команду

```
kubeadm reset --cri-socket unix:///var/run/crio/crio.sock
```

После этого необходимо выполнить [инициализацию ](/utm-docs/dokumentaciya/utm-it/resheniya/kubernetes/razvertyvanie-ha-klastera/inicializaciya-klastera.md)кластера и присоединение всех узлов к новому кластеру


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://utm-1.gitbook.io/utm-docs/dokumentaciya/utm-it/resheniya/kubernetes/obsluzhivanie-klastera/obnulenie-klastera.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
