CNI Overlays

Each row is one complete architecture. Use settings from one row only.

Flannel

ArchitectureSettingsProcessingPod packet path
VXLAN (recommended)Type: vxlan
  • Dataplane: Linux bridge and routes
  • Services: kube-proxy
VXLAN between node IPs
host-gwType: host-gw
  • Dataplane: Linux routes
  • Services: kube-proxy
Linux route through the destination node IP
VXLAN hybrid
  • Type: vxlan
  • DirectRouting: true
  • Dataplane: Linux routes
  • Services: kube-proxy
  • Direct route within one subnet
  • VXLAN across subnets
WireGuardType: wireguard
  • Dataplane: Linux routes
  • Services: kube-proxy
Encrypted WireGuard tunnel between node IPs

Calico

ArchitectureTigera Operator settingsProcessingPod packet path
IP-in-IP all nodes
  • encapsulation: IPIP
  • linuxDataplane: Iptables
  • bgp: Enabled
  • Dataplane: Linux routes and iptables
  • Services: kube-proxy
  • IP-in-IP between node IPs
  • BGP distributes Pod routes
IP-in-IP cross-subnet
  • encapsulation: IPIPCrossSubnet
  • linuxDataplane: Iptables
  • bgp: Enabled
  • Dataplane: Linux routes and iptables
  • Services: kube-proxy
  • Direct route within one subnet
  • IP-in-IP across subnets
  • BGP distributes Pod routes
VXLAN all nodes
  • encapsulation: VXLAN
  • linuxDataplane: Iptables
  • bgp: Disabled
  • Dataplane: Linux routes and iptables
  • Services: kube-proxy
  • VXLAN between node IPs
  • Felix programs cluster routes
VXLAN cross-subnet
  • encapsulation: VXLANCrossSubnet
  • linuxDataplane: Iptables
  • bgp: Disabled
  • Dataplane: Linux routes and iptables
  • Services: kube-proxy
  • Direct route within one subnet
  • VXLAN across subnets
  • Felix programs cluster routes
eBPF with VXLAN cross-subnet
  • encapsulation: VXLANCrossSubnet
  • linuxDataplane: BPF
  • bpfNetworkBootstrap: Enabled
  • kubeProxyManagement: Enabled
  • bgp: Disabled
  • Dataplane: Calico eBPF
  • Services: Calico eBPF
  • Direct route within one subnet
  • VXLAN across subnets
  • Felix programs cluster routes

Cilium

ArchitectureHelm settingsProcessingPod packet path
VXLAN with kube-proxy
  • routingMode: tunnel
  • tunnelProtocol: vxlan
  • kubeProxyReplacement: false
  • Dataplane: Cilium eBPF
  • Services: kube-proxy
VXLAN between node IPs
VXLAN with eBPF Services
  • routingMode: tunnel
  • tunnelProtocol: vxlan
  • kubeProxyReplacement: true
  • Dataplane: Cilium eBPF
  • Services: Cilium eBPF
VXLAN between node IPs
Geneve with eBPF Services
  • routingMode: tunnel
  • tunnelProtocol: geneve
  • kubeProxyReplacement: true
  • Dataplane: Cilium eBPF
  • Services: Cilium eBPF
Geneve between node IPs
Native with eBPF Services
  • routingMode: native
  • ipv4NativeRoutingCIDR: POD_CIDR
  • kubeProxyReplacement: true
  • Dataplane: Cilium eBPF
  • Services: Cilium eBPF
Linux routes the Pod packet

OVN-Kubernetes

ArchitectureCNI settingProcessingPod packet path
Default network / Genevetype: ovn-k8s-cni-overlay
  • Dataplane: OVS/OpenFlow programmed by OVN
  • Services: OVN load-balancer flows
Geneve between node IPs through OVN logical routers and switches