# Update a Cluster

You can update a cluster for Public and Private Node Pools with the **Kubernetes Manager** in [<mark style="color:blue;">DCD</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#data-center-designer-dcd).

{% tabs %}
{% tab title="Public Node Pools" %}
To update a cluster, follow these steps:

1. In the **DCD**, go to **Menu** > **Containers** > **Managed Kubernetes**.
2. Select a cluster from the list and go to the **Cluster Settings** tab.
3. *(Optional)* Update the **Cluster name**, or you can continue with the existing cluster name.

{% hint style="info" %}
**Note:** Make sure to use the following naming convention for the Kubernetes cluster:

* Can be a maximum of 63 characters in length.
* Begins and ends with an alphanumeric character (\[a-z0-9A-Z]).
* Must not contain spaces or any other white-space characters.
* Can contain dashes (-), underscores (\_), and dots (.) in between.
  {% endhint %}

4. Select the **Version** number of Kubernetes you want to run on the cluster from the drop-down list.
5. Select a preferred **Maintenance day** for maintenance from the drop-down list.
6. Select a preferred **Maintenance time (UTC)** for your maintenance window from the menu. Necessary maintenance for Managed Kubernetes will be performed accordingly.
7. Click **Update Cluster** to save your changes.

![Updating a cluster for Public Node Pools](/files/e0iEVyPvGK62BF8eu2iL)

{% hint style="success" %}
**Result:** The cluster for your Public Node Pools is successfully updated.
{% endhint %}
{% endtab %}

{% tab title="Private Node Pools" %}
To update a cluster, follow these steps:

1. In the **DCD**, go to **Menu** > **Containers** > **Managed Kubernetes**.
2. Select a cluster from the list and go to the **Cluster Settings** tab.
3. *(Optional)* Update the **Cluster name**, or you can continue with the existing cluster name.

{% hint style="info" %}
**Note:** Make sure to use the following naming convention for the Kubernetes cluster:

* Can be a maximum of 63 characters in length.
* Begins and ends with an alphanumeric character (\[a-z0-9A-Z]).
* Must not contain spaces or any other white-space characters.
* Can contain dashes (-), underscores (\_), and dots (.) in between.
  {% endhint %}

4. Select the **Version** number of Kubernetes you want to run on the cluster from the drop-down list.
5. Select a preferred **Maintenance day** for maintenance from the drop-down list.
6. Select a preferred **Maintenance time (UTC)** for your maintenance window from the menu. Necessary maintenance for Managed Kubernetes will be performed accordingly.
7. *(Optional)* Add a S3 Bucket to the **Logging to S3** drop-down list to **Enable logging to bucket**. You can also disable logging to S3 for your Kubernetes cluster.
8. *(Optional)* Add the individual IP address or CIDRs that need access to the control plane in the **Restrict Access by IP** field using the **+ Add IP** drop-down menu. Select **Allow IP** to control the access to the KubeAPI server of your cluster. Only requests from the defined IPs or networks are allowed.
9. Click **Update Cluster** to save your changes.

![Updating a cluster for Private Node Pools](/files/1l3UoedX9wBNDONqkBbc)

{% hint style="info" %}
**Note:** Once provisioned, you cannot update the **Subnet** and **Gateway IP** values.
{% endhint %}

{% hint style="success" %}
**Result:** The cluster for your Private Node Pools is successfully updated.
{% endhint %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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://docs.ionos.com/cloud/containers/managed-kubernetes/how-tos/update-a-cluster.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.
