Overview of Kube-OVN features and capabilities
masterKube-OVN is a CNCF Sandbox project that integrates OVN-based Network Virtualization with Kubernetes. It is designed to provide advanced networking features that go beyond standard Kubernetes CNI capabilities, specifically focusing on multi-tenancy, VM support, and high-performance networking.
Key capabilities include:
Multi-Tenancy & Isolation
- VPC Support: Independent address spaces per tenant with dedicated infrastructure (EIPs, NAT gateways, security groups, and load balancers).
- Namespaced Subnets: Unique Subnets per Namespace (backed by Logical Switches), allowing for shared or isolated IP allocation.
- Subnet Isolation: Ability to deny traffic from outside a Subnet or whitelist specific IP ranges.
- Namespaced Gateways: Dedicated Egress gateways per Namespace.
Advanced Networking & Connectivity
- Vlan/Underlay Support: Support for underlay and VLAN modes for direct physical network connectivity and high performance.
- Non-Primary CNI Mode: Can operate as a secondary CNI alongside primary CNIs (like Cilium or Calico) using Network Attachment Definitions (NADs).
- Multi-Cluster Network: L3 connectivity between different Kubernetes or OpenStack clusters.
- BGP Support: Exposing Pod/Subnet IPs to external networks via BGP.
- DualStack IP Support: Support for IPv4-only, IPv6-only, or DualStack modes.
- Direct External Connectivity: Direct exposure of Pod IPs to the external network.
Workload & VM Support
- KubeVirt Integration: Seamless LiveMigration of VMs without network interruption.
- Static IP Addresses: Support for allocating specific static IP addresses to workloads.
- Pod NAT and EIP: Management of external traffic and External IPs similar to traditional VMs.
- IPAM for Multi NIC: Cluster-wide IPAM for use with other CNI plugins (e.g., macvlan, vlan) to leverage Kube-OVN's subnet and static IP functions.
Performance & Operations
- Embedded Load Balancers: High-performance distributed L2 Load Balancers that can replace
kube-proxy. - Distributed Gateways: Every node can act as a gateway for external connectivity.
- Dynamic QoS: On-the-fly configuration of traffic rate, priority, loss, and latency for Pods and Gateways.
- Hardware Offload: Offloading OVS flow tables to hardware to reduce CPU usage and boost performance.
- Traffic Mirroring: Duplicating network traffic for monitoring and diagnostics.
- Observability: Prometheus & Grafana integration for network quality metrics (latency, connectivity) and built-in troubleshooting tools.