Cloud • Observability • Have a be:er behind-the-scenes view can get insights in a distributed system • Troubleshoo2ng • 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 applicaDons • “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 • ConsideraEons of AdopEng 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 mulNple egress nodes LINE x KCD Taiwan Meetup 33
reliability, and security features3 • Non-invasive for applica9on • App. doesn't need to implement (auto-instrumented o11y) • Transparent for applica9on • App. doesn't aware that the service mesh 3 Service Mesh Post on 矽⾕⽜的耕⽥筆記 LINE x KCD Taiwan Meetup 35
• Addi8onal complexity infrastructure • Higher latency and opera8on costs • Configura8on design complexity and test validity • Verify the service mesh control plane configura8on and updates LINE x KCD Taiwan Meetup 36
(instead of network-level redirec.on) • Cilium 1.11 Sidecar-free Service Mesh datapath was introduced (instead of sidecar model) • Per-node proxy model • Cilium 1.12 new op.on 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 consump3on is now highly variable • Security story is now far more complex 5 Twi&er thread LINE x KCD Taiwan Meetup 41
is to the Linux kernel — Thomas Graf, KubeCon + CloudNa7veCon Europe 2022 • Cilium notable features • Kube-proxy replacment • DSR • Egress IP gateway • Sidecar-free Service Mesh • ConsideraCons of adopCng eBPF & Service Mesh LINE x KCD Taiwan Meetup 45