Skip to content

Networking ​

Kube-OVN ​

The underlying networking of the Kubernetes Service is built with Kube-OVN. Kube-OVN is a CNCF Sandbox Project that integrates Open Virtual Network (OVN) and Open vSwitch (OVS) to provide advanced networking for Kubernetes, bridging traditional SDN with cloud-native environments. It supports features like logical switches, routers, VPCs, QoS, ACLs, and traffic mirroring, enhancing Kubernetes' networking capabilities with enterprise-grade functionality.

Kube-OVN enables flexible subnet management, allowing each namespace to have a unique subnet or share subnets, supporting overlay, underlay, and VLAN modes for optimized performance. It is designed for ease of operation, high performance, and seamless integration with Kubernetes CNI, making it ideal for enterprises seeking robust network orchestration.

Virtual Private Cloud (VPC) ​

The Kube-OVN VPC provides a dedicated network space for Kubernetes workloads, enabling secure and customizable network segmentation with fine-grained control over traffic flow. It allows for the abstraction of IP address ranges, subnets and routing overall.

The Uplink Topology integrates the VPC to the Swisscom Core Network.

KS Uplink Topology

Each Kubernetes Service environment is established across three data centers (availability zones). Each datacenter is connected to the Swisscom Transport Core via a dedicated (per customer) pair of Edge Gateways to ensure redundant communication outside the customer's cluster context.

As a service provider, we offer not only a bare Kubernetes cluster but also the possibility to complement it with supplementary services as needed. Illustrated in the above picture which highlights the optional customer connectivity to other Swisscom services via the Swisscom Transport Core.

Failover capabilities ​

The Uplink Topology consists of a pair of virtual routers (VNFs) per Availability Zone and will always run on different nodes. VRRP is used for steering the traffic. Every subnet is connected to each router with different priorities. A Kubernetes Service environment will always have dedicated subnets per AZ which are prioritizing the local routers as a gateway and only if not available will failover to a different AZ.

The following diagram shows the same setup as above with some more details (individual subnets, routers, OVN distributed router and the transit network).

KS Subnets, Routers & VRRP Setup

💡 Note

The Virtual Router Redundancy Protocol (VRRP) is a networking protocol that provides automatic failover for IP addresses by grouping multiple routers into a virtual router, ensuring high availability and seamless traffic routing in case of a router failure.

Subnets and NAT ​

There are different types of subnets including support for SNAT. See the documentation on how to create a new Kubernetes Service environment.

Network Latency ​

KS Network Regions & Zones

Site ASite BLatency
BEWZHH4 ms
BEWZOI2 ms
BEWOLT3 ms
ZOIZHH4 ms
ZOIOLT3 ms
ZOIBEW1 ms
ZHHOLT2 ms
ZHHZOI4 ms
ZHHBEW3 ms
OLTZHH2 ms
OLTBEW3 ms
OLTZOI3 ms

💡 Note

The above latency is measured as ping time between network interfaces of edge routers. Be aware that the numbers can be affected by factors like current load in the network, etc. and are not guaranteed.

The physical distance between datacenters (see regions and zones) can lead to higher network latency because it invariably leads to longer signal travel times, more routing and switching delays, and other associated transmission inefficiencies.

When deploying a Kubernetes cluster, the user is responsible for the placement of his worker nodes via MachineDeployments. Ensure that the choice of AZ placement per MachineDeployment matches your expectations and design architecture for your Kubernetes clusters.