Skip to main content

Quick Start

centron Kubernetes is a managed Kubernetes service: you provide your workloads, whilst centron operates the control plane and node pools. This page guides you through four steps to your first running cluster.

Prerequisites

  • Access to the centron Control Panel
  • A Kubernetes cluster with the status Running and a verified connection via kubectl

1. Create a cluster

  1. In Control Panel, open the Kubernetes section and click Create Cluster.
  2. Select the version – we recommend the latest one.
  3. Confirm the region and VPC Network.
  4. Leave the network sizing set to Size network subnets for me (Recommended).
  5. Under Choose Cluster capacity, select an Instance Type and the number of nodes.
  6. Enter a Cluster name and complete the process by clicking Create & Buy now.

You can find a detailed description of all fields under Create cluster.

Tipp

To get started, a small instance type with two nodes is sufficient. The number of nodes and additional pools can be added at any time – but the size of the pod and service networks, on the other hand, cannot.

2. Establish a connection

As soon as the cluster has reached Running status:

  1. In the Overview tab, download the configuration file using Download Config File.

  2. Point kubectl to it:

    export KUBECONFIG=/<pfad-zum-verzeichnis>/<cluster-name>-kubeconfig.yaml

For details, see Connecting to the cluster.

3. Check the connection

kubectl cluster-info
kubectl get nodes

All nodes should have the status Ready.

4. Roll out the first implementation

kubectl create deployment web --image=nginx:stable --replicas=2
kubectl expose deployment web --type=NodePort --port=80
kubectl get service web

The service is assigned a port in the range 30000–32767, which is opened on each worker node. You can access the application using a node’s IP address:

kubectl get nodes -o wide
curl http://<node-ip>:<node-port>

You can find a detailed example, including manifests, resource specifications and readiness probes, under Deploying your first image.

Next steps

The following topics are relevant to operational use: