# 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](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-25edea555a61e4a056e3c663d0bacbe35347c927%2Fupdate-cluster-public.png?alt=media)

{% 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](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-0fdbf45c2143f14ab3a207c923e2d3e04ce777a0%2Fupdate-cluster-private.png?alt=media)

{% 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 %}
