Skip to main content

How-Tos – Kubernetes

Schritt-für-Schritt-Anleitungen für typische Aufgaben mit Kubernetes.

Create a cluster

Step-by-step guide to creating a Kubernetes cluster in centron ccloud – from the version and node pools to the cost overview.

Connect to cluster

Connecting to the Kubernetes cluster: Download the configuration file, set up kubectl and KUBECONFIG, check the connection and troubleshoot common errors.

Enable autoscaling

Enabling cluster autoscaling per node pool: setting minimum and maximum values, estimating costs and distinguishing it from horizontal pod autoscaling.

Delete cluster

Permanently deleting a Kubernetes cluster: Backing up data and configuration beforehand, the process in the ‘Destroy’ dialogue, and which resources remain afterwards.

Cluster upgrade

Manage Kubernetes upgrades at centron: configure automatic patch upgrades, a four-hour upgrade window and surge upgrades – without any downtime.

Instanzen

Erstellen, bearbeiten und löschen Sie virtuelle Instanzen (VMs) in centron cStack über das Webinterface – inklusive Verwaltung, Konsole und Snapshots.

Instanzgruppen

Erfahren Sie, wie Sie Instanzgruppen in centron cStack erstellen, bearbeiten und löschen, um zusammengehörige Instanzen effizient zu organisieren.

Affinitätsgruppen

Erfahren Sie, wie Sie Affinitäts- und Anti-Affinitätsgruppen in centron cStack nutzen, um Instanzen gezielt auf Hosts zu verteilen oder zusammenzuführen.

Volumes

Verwalten Sie Volumes in centron cStack: Datenträger erstellen, bearbeiten, vergrößern und sicher löschen über das cStack Webinterface.

Snapshots

Lernen Sie, wie Sie VM-Snapshots in centron cStack erstellen, wiederherstellen, verwalten und sicher löschen.

Gastnetzwerke

Erfahren Sie, wie Sie Gastnetzwerke in centron cStack erstellen, anzeigen, neu starten oder löschen – direkt über das cStack Webinterface.

Add node pools

Add additional node pools to a Kubernetes cluster, configure the instance type and autoscaling, and place workloads on them as required.

Public IPs

Erfahren Sie, wie Sie öffentliche IP-Adressen in centron cStack erstellen, zuweisen, verwalten und wieder löschen.

Node Remediation

Identifying and resolving faulty worker nodes: check their status, restart the node using ‘Recycle’ or remove it – whilst keeping workloads available.

Templates & ISOs

Erfahren Sie, wie Sie Templates, ISOs und Kubernetes-Images in centron cStack registrieren, hochladen und für Instanzen verwenden.

Persistent Volume Claims

So fügen Sie Persistent Volumes über Persistent Volume Claims (PVCs) in centron cStack Kubernetes hinzu – mit CloudStack CSI Driver und Praxisbeispielen.

Enable high availability

Enabling the high-availability control plane when creating a cluster or at a later stage – costs, impact and what cannot be changed afterwards.

Horizontal Pod Autoscaling

Scaling pods based on load: Set up HorizontalPodAutoscaler, set thresholds, smooth out fluctuations and combine with Cluster Autoscaling.

Install applications

Install applications in a Kubernetes cluster using Helm Charts or manifests; customise them with your own values, update them, roll them back and remove them.

Connect to the Container Registry

Connecting a private container registry to Kubernetes: storing access credentials as an `imagePullSecret`, using them in a deployment, and resolving `ImagePullBackOff` errors.

Setting up RoleBindings

Controlling access rights in a Kubernetes cluster via RBAC: setting up roles, ClusterRoles and bindings, securing ServiceAccounts and verifying permissions.

View metrics

Assess the utilisation of your Kubernetes cluster: analyse CPU, memory, disk I/O and bandwidth in the Analytics tab and using `kubectl top`.

Advanced metrics

Collect metrics beyond those shown in the built-in charts: metrics-server for `kubectl top`, Prometheus and Grafana for historical data and custom dashboards.