Skip to main content

Create a cluster

This guide shows how to create a Kubernetes cluster in ccloud and gives the rules for each field. After you create the cluster, centron automatically provisions the control plane, the worker nodes, the network and the preinstalled components.

Prerequisites​

1. Start the cluster creation​

In ccloud, open the Kubernetes area and start to create a new cluster.

2. Set the name​

  • Use lowercase letters, digits and hyphens.
  • The name starts and ends with a letter or a digit.
  • At most 40 characters.

If you leave the field empty, centron makes the name from the inventory number, for example ks12345. You cannot change the name after you create the cluster.

3. Select the Kubernetes version​

You can only select supported versions. One version is preselected as the recommendation. Keep the recommendation if you have no reason against it. For the current list, see Supported versions.

4. Select high availability​

Select the High availability checkbox if the control plane must stay available when a node fails. For details, see Enable high availability.

5. Create node pools​

At least one node pool is mandatory. For each pool:

FieldRule
NameLowercase letters, digits and hyphens, at most 18 characters.
Instance typeC1 to C8 from the catalog, shown with vCPU, RAM and disk.
Number of nodes1 to 32.
AutoscalingOptional. Instead of a fixed number, you set a minimum and a maximum, see Enable autoscaling.
Tipp

Plan at least 2 nodes per node pool, so that your application stays available during upgrades.

To select the instance type, see Choose a plan.

6. Set the network ranges (optional)​

Each cluster gets its own isolated network. It is reachable from outside through services of type LoadBalancer, see Install applications.

FieldDefaultRule
Node networkassigned by centronPrivate range according to RFC 1918, prefix length /20 to /28
Pod network192.168.0.0/16Prefix length /8 to /24

The two ranges must not overlap. Change the default values only if they collide with networks that you want to connect to the cluster.

If you set the node network yourself, centron checks that it is sufficient for all control plane nodes and the maximum number of nodes of all pools. If it is not sufficient, centron rejects the input.

Warnung

You set both network ranges permanently when you create the cluster. A change requires a new cluster.

7. Complete the creation​

Check the summary and complete the creation. Current prices are listed in the Kubernetes price overview.

After the creation​

First, centron provisions the cluster. The detail view shows, for the control plane and for each node pool, how many machines are planned and how many are ready.

The following components are already installed:

  • Calico as the network plugin
  • CSI driver with the storage class cloudstack-custom for persistent volumes, see Persistent volume claims
  • Cloud Controller Manager, which automatically assigns a public IP address to services of type LoadBalancer
  • cert-manager for TLS certificates

On request, centron also supplies an ingress controller and Kyverno for policies.

After the creation, you set the maintenance window and automatic patch updates in the cluster settings, see Cluster upgrade.

Next step: Connect to the cluster.