Skip to content

Kubernetes Service ​

Welcome to the ESC Kubernetes Service (KS) Documentation!

KS runs on top of KKP, a Kubernetes management platform developed by Kubermatic. It provides the foundational capabilities for automating, scaling, and managing clusters across cloud and on-prem environments.

This documentation will guide you through the features, setup, and operation of KS, helping you to leverage the full potential of Kubernetes for your applications and services.

Feature Highlights ​

KS offers a robust set of capabilities designed to support scalable, secure, and customizable Kubernetes environments:

  • Unlimited worker nodes per cluster for flexible scalability.
  • Node autoscaler with scale-to-zero support for efficient resource usage.
  • Unlimited Load Balancer services via integrated KubeLB - Read more about Load Balancers.
  • Multiple CNI plugin options for adaptable networking configurations.
  • Integrated Velero backups for workloads and etcd control plane snapshots for cluster resilience.
  • Efficient architecture with control plane as pods and worker nodes as full virtual machines.
  • SSH access to worker nodes for advanced troubleshooting and debugging.
  • OIDC integration for centralized authentication and RBAC enforcement.
  • Multi-zone worker node placement for high availability and fault tolerance.
  • API-driven user portal for automated project and cluster management.
  • Future: Hybrid deployment support across on-prem and external cloud providers.

Glossary ​

  • Availability Zone (AZ) - a physically separate datacenter within a region. The ESC Kubernetes Service operates across three AZs per region and worker nodes are placed per AZ via MachineDeployments.

  • Canal - a CNI plugin that combines Flannel for networking and Calico for network policy enforcement. Available as a CNI option in KS clusters.

  • CID (Client Identifying Data) - data classification label (cid_enabled: true) applied to PersistentVolumes and PersistentVolumeClaims to indicate volumes storing client-identifiable data, enabling policy controllers to enforce specific handling and auditing requirements.

  • Cilium - a CNI plugin for Kubernetes clusters, based on eBPF technology. Supports advanced features like Egress Gateways, kube-proxy replacement, BPF masquerading, and service mesh capabilities.

  • Cilium Egress Gateway - a Cilium feature that routes traffic from specific pods through designated gateway nodes with predictable IPs. Useful for integrating with legacy firewalls. Requires BPF masquerading and kube-proxy replacement to be enabled.

  • Cluster Autoscaler - an application that automatically adjusts the number of worker nodes in a cluster based on workload demand. Configured per MachineDeployment with min/max replica settings. Must be installed from the KKP Application Catalog.

  • Cluster Template - a reusable, project-scoped configuration for creating Kubernetes clusters with predefined provider settings, networking, versions, and machine deployments.

  • CNI - the Container Network Interface specification for plugins that provide networking capabilities to Kubernetes clusters. KS supports Cilium, Canal, or "None" (bring your own).

  • Encryption at Rest - a cluster feature that encrypts sensitive Kubernetes data (such as Secrets) stored in etcd. Enabled during or after cluster creation using a base64-encoded 32-byte key.

  • Environment - the top-level tenant resource in ESC representing a complete installation of the ESC Kubernetes Service. Each environment is linked to an ESC tenant, has its own uplink topology, KKP Dashboard, and API endpoint. Created via the ESC Portal with region, networks, and load balancer IP pool configuration.

  • Environment Isolation - a setting configured during environment creation that controls default network access. Allow (default) permits external communication; Deny restricts all external access by default, requiring explicit firewall rules via Network Policies or Tufin rules.

  • ESC Network Policy - firewall rules managed via the ESC Portal for controlling traffic to/from KS clusters. Two types: IP-based (north-south traffic, CIDR-based) and Label-based (per-cluster, using cluster ID). Supports TCP and UDP with port ranges. Configured via the ESC Portal.

  • ESC Portal - the web-based management interface for the Enterprise Service Cloud where users create and manage KS environments, projects, and network policies. Provides jump-off links to the KKP Dashboard.

  • etcd Backup - a snapshot of the Kubernetes control plane state (etcd database) stored in S3. Can be taken manually or scheduled. Restoring an etcd snapshot causes cluster downtime and overwrites the current control plane state. Backup destination is configured per environment either during initial provisioning or via a service request afterwards.

  • Gateway API - a Kubernetes API standard for Layer 7 traffic management. In KS, enabled via the KubeLB "Enable Gateway API" option during cluster creation. Uses the kubelb GatewayClass. Supports HTTPRoute, TLS termination via SyncSecret and specific IP requests.

  • KKP (Kubermatic Kubernetes Platform) - the Kubernetes management platform developed by Kubermatic that provides the foundational capabilities for KS. Manages cluster lifecycle, machine deployments and application catalogs.

  • KKP Application Catalog - a curated set of Helm-chart-based applications available for self-service installation into KS clusters via the KKP Dashboard.

  • KKP Dashboard - the web UI for managing Kubernetes projects, clusters, and resources. Accessed via jump-off links from the ESC Portal. Authentication uses the customer's Identity Provider via "Log in with SCO Keycloak".

  • Kube-OVN - a CNCF Sandbox networking solution integrating OVN/OVS that provides the underlying infrastructure networking for KS environments. Supports VPCs, logical switches/routers, subnet management, and overlay/underlay modes. Not user-facing.

  • KubeLB - Kubermatic's load balancer management tool providing Layer 4 (TCP/UDP) and Layer 7 (via Gateway API) load balancing for KS clusters. Must be enabled per cluster. Uses the kubelb loadBalancerClass. Supports IP sharing, IP reservation, and specific IP requests via metallb.io annotations.

  • KubeVirt - the virtualization technology used as the infrastructure provider for KS. Worker nodes run as full virtual machines managed by KubeVirt on the underlying platform. Also provides the CSI driver for persistent storage.

  • KubeVirt CSI Driver - the storage provisioner (csi.kubevirt.io) that dynamically provisions persistent volumes backed by NetApp iSCSI. Provides zone-bound StorageClasses. Users must not create custom StorageClasses using this provisioner.

  • Loadbalancer IP Pool - a dedicated IP address range configured during environment creation, used by KubeLB/MetalLB to assign external IPs to LoadBalancer services and Gateways.

  • MachineDeployment - a Kubernetes resource representing a group of worker nodes with identical configuration (CPU, memory, disk, OS, zone, labels). Managed via KKP UI or kubectl. Supports kubelet resource reservations, autoscaling, and custom annotations.

  • Maintenance Window - the ESC Kubernetes Services has a mandatory monthly upgrade window during which each environment is upgraded to the next release version. The day is predefined during environment creation. Major/minor versions cannot be skipped.

  • MetalLB - a Load Balancer implementation for bare metal Kubernetes clusters used by KubeLB for IP allocation. Annotations use the metallb.io prefix.

  • Operating System Profile - a predefined OS configuration applied to worker nodes via the k8c.io/operating-system-profile annotation on MachineDeployments.

  • Project - a logical grouping within a KS environment for segregating clusters and resources. Supports RBAC roles (Owner, Project Manager, Editor, Viewer), SSH key management, service accounts, and resource quotas.

  • PostgreSQL (cnpg.io) - highly available PostgreSQL database clusters deployed on KS via the CloudNativePG operator, available from the KKP Application Catalog. Provides primary/standby streaming replication, automated failover, PgBouncer connection pooling, S3-based WAL archiving, backups and Point-In-Time-Recovery.

  • pv-migrate - an open-source tool used to migrate persistent volume data between availability zones or clusters by syncing data via rsync between PVCs.

  • Region - a geographic area containing multiple availability zones. KS supports regions east and central within Switzerland.

  • SCO Portal / Keycloak - the Swisscom identity management system used for authentication. KKP integrates with "SCO Keycloak" as the Identity Provider for OIDC-based login.

  • SNAT (Egress NAT) - Source Network Address Translation (SNAT) rules at the project level that NAT all outbound traffic from MachineDeployment nodes through specific IP ranges by setting esc.kubernetes.service/egress-nat-key label. Provides a predictable, stable IP address for egress traffic and firewall rules. Configured via the ESC Portal.

  • StorageClass - Kubernetes resource defining storage provisioning parameters. KS provides: kubevirt-san-kcsi-standard (default, WaitForFirstConsumer), zone-specific classes (-zhh, -olt, -zoi, -bew, Immediate binding), and an optional kubevirt-san-kcsi-replicated class for multi-zone replication in region central.

  • Support Level - a per-cluster designation set at creation time: 24x7 (default, round-the-clock support) or basic (office hours Mo-Fr 09:00-17:00 CET, reduced cost). Cannot be changed after creation without recreating the cluster.

  • SyncSecret - a KubeLB custom resource for synchronizing TLS certificates from user clusters into the KubeLB management layer for Gateway API TLS termination.

  • Uplink Topology - the network architecture connecting KS environments to the Swisscom Core Network via redundant Edge Gateway pairs per availability zone, using VRRP for failover.

  • User Cluster Backup (Velero) - a backup mechanism using Velero that supports backing up Kubernetes state, workloads, namespaces, and persistent volumes. Stored in S3. Supports scheduled and one-time backups, per-namespace restore, and backup import. Must be enabled per cluster with a configured Backup Storage Location.

  • Velero - an open-source Kubernetes backup and restore tool integrated into KS for user cluster backups. Supports backing up resources, volumes, and performing per-namespace restores.

  • Volume Expansion - a feature allowing resizing of existing PersistentVolumes. Only offline expansion is supported by default (pod must be detached). An optional online expansion operator is available via service request.

  • VRRP (Virtual Router Redundancy Protocol) - the protocol used by the KS uplink topology for router failover. Each AZ has a pair of virtual routers; subnets prioritize local routers and fail over to other AZs if unavailable.

  • WAF (Web Application Firewall) - a Layer 7 security feature that inspects HTTP traffic and blocks malicious requests using the OWASP Core Rule Set (CRS). Protects against SQL injection, XSS, command injection, and other common web attacks.