Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Up a Kubernetes Cluster

Prerequisite: Only contract administrators, owners, and users with Create Kubernetes Clusters permission can create a cluster for Public and Private Node Pools. Other user types have read-only access.

Note: Ensure 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.

Cluster configuration

To create a cluster using the DCD, follow these steps:

1
  1. In the DCD, go to Menu > Containers > Managed Kubernetes.

  2. Select Create cluster.

2

Define Properties

  1. Enter a Name for the cluster.

  2. Select the Kubernetes version you want to run in the cluster from the drop-down list. It is best practice to run the latest stable Kubernetes version to maximize the time before your cluster reaches its End of Life (EOL). For more information, see Release Schedule.

Define Properties
3

Configure Location and network access

Note: You cannot change these settings later.

You can create a cluster using the DCD for Public Node Pools.

  1. Select Public from the Node pool access options.

Note: It is impossible to switch the Node pool access from public to private and vice versa. Public node pools assign external IP addresses to your nodes, allowing them to communicate directly with the Internet. Private node pools isolate nodes using only internal IP addresses, restricting them to your internal network. For more information, see Public Node Pools and Private Node Pools.

  1. Select a Location from the drop-down list. You can only create clusters in the following locations:

    • Germany: Frankfurt am Main (de/fra)

    • United States: Newark (us/ewr), Las Vegas (us/las), and Lenexa (us/mci).

Define Location and network

You can create a cluster using the DCD for Private Node Pools. For this cluster, you must provide a NAT gateway IP address. It is the IP address assigned to the deployed Network Address Translation (NAT) Gateway. To reserve an IPv4 address, in the DCD go to Menu > Network Services > IP Management.

  1. Select Private from the Node pool access options.

Note:

  • When defining a private node pool, you must provide a data center in the same location as the cluster for which you create the node pool.

  • It is impossible to switch the Node pool access from private to public and vice versa. Public node pools assign external IP addresses to your nodes, allowing them to communicate directly with the Internet. Private node pools isolate nodes using only internal IP addresses, restricting them to your internal network. For more information, see Public Node Pools and Private Node Pools.

  1. Select a Location from the drop-down list. You can only create clusters in the following locations:

    • Germany: Frankfurt am Main (de/fra)

    • United States: Newark (us/ewr), Las Vegas (us/las), and Lenexa (us/mci).

Note: You can only create the cluster for Private Node Pools in the Virtual Data Centers (VDCs) in the same region as the cluster.

  1. Select an unused, reserved IP address from the drop-down list in NAT gateway IP address. To do this, you must reserve an IPv4 address assigned by IONOS CLOUD that is not already in use by another resource. For more information, see Reserve an IPv4 Address.

  2. (Optional) Define a Node subnet for the private LAN. This must be an address of a prefix length /16 in the Classless Inter-Domain Routing (CIDR) block. If you do not specify a subnet, a default network range is automatically assigned.

Note:

  • The subnet value cannot intersect with the cluster's networks for pods and services. For clusters created with:

    • Kubernetes version 1.30 and above, the networks are 100.96.0.0/12 and 100.64.0.0/18.

    • Older Kubernetes versions, the networks are 10.208.0.0/12 and 10.233.0.0/18.

  • Once provisioned, the Region, NAT gateway IP address, and Node subnet values cannot be changed.

Define Location and network
4

Configure Additional settings

  1. Toggle Audit logging to activate or deactivate audit logging for the cluster. When activated, a Target Object Storage bucket field appears; enter the name of an existing Object Storage bucket where audit logs will be stored.

  2. (Optional) Enter an IP address range in Allowed IPs to restrict API access to the cluster. Leave empty to allow access from anywhere.

  3. (Optional) Configure the Maintenance window:

    • Day: Select the day of the week for scheduled maintenance from the drop-down list.

    • Start time (UTC): Enter the start time for the maintenance window in UTC.

Configure Audit logging and maintenance window

Note:

  • To access the Kubernetes API provided by the cluster, download the kubeconfig file and use it with tools such as kubectl. For more information, see Download Kubeconfig.

  • The maintenance window starts at the time of your choosing and remains open for another four hours. All planned maintenance work will be performed within this window, however, not necessarily at the beginning.

5

Create cluster

To finalize your setup, click Create cluster.

Last updated

Was this helpful?