Cloud • Observability • Have a better behind-the-scenes view can get insights in a distributed system • Troubleshooting • Tracking down the roots of the problems LINE x KCD Taiwan Meetup 4
based Container Networking • 4 types of datapath on Kubernetes Networking • eBPF Development • eBPF Program Types • Some things were glossed over • Cilium features and their applications • “Sidecarless” model to the world of service mesh • Today's talk • Notable Cilium features on Kubernetes • Sidecar model & Sidecarless model LINE x KCD Taiwan Meetup 5
Cilium features • kube-proxy replacment • DSR (Dircet Server Return) • Egress IP Gateway • Sidecarless model - Cilium service mesh • Considerations of Adopting LINE x KCD Taiwan Meetup 7
1.10. CiliumEgressNATPolicy CRD • Cilium 1.12 promoted to stable. CiliumEgressGatewayPolicy CRD • eBPF-based SNAT • Single Point of Failure? • Egress Gateway High Availability (HA), which supports multiple egress nodes LINE x KCD Taiwan Meetup 33
reliability, and security features3 • Non-invasive for application • App. doesn't need to implement (auto-instrumented o11y) • Transparent for application • App. doesn't aware that the service mesh 3 Service Mesh Post on 矽⾕⽜的耕⽥筆記 LINE x KCD Taiwan Meetup 35
• Additional complexity infrastructure • Higher latency and operation costs • Configuration design complexity and test validity • Verify the service mesh control plane configuration and updates LINE x KCD Taiwan Meetup 36
(instead of network-level redirection) • Cilium 1.11 Sidecar-free Service Mesh datapath was introduced (instead of sidecar model) • Per-node proxy model • Cilium 1.12 new option for user LINE x KCD Taiwan Meetup 40
vulnerable to “noisy neighbor” traffic • The blast radius of a proxy is large. Proxy failures and upgrades • eBPF, sidecars, and the future of the service mesh from Buoyant • Proxy resource consumption is now highly variable • Security story is now far more complex 5 Twitter thread LINE x KCD Taiwan Meetup 41
is to the Linux kernel — Thomas Graf, KubeCon + CloudNativeCon Europe 2022 • Cilium notable features • Kube-proxy replacment • DSR • Egress IP gateway • Sidecar-free Service Mesh • Considerations of adopting eBPF & Service Mesh LINE x KCD Taiwan Meetup 45