North-South Load Balancing
of Kubernetes Services with
eBPF/XDPNorth-South Load Balancing of Kubernetes Services with eBPF/XDP Martynas Pumputis (Isovalent) October 28, 2020 10.0.0.1 10.0.0.2 10.0.0.3 httpd httpd “httpd” service 10.0.0.1:30000 10.0.0.2:300000 码力 | 11 页 | 444.46 KB | 1 年前3
Cilium v1.11 Documentationindividual containers getting started or destroyed as the application scales out / in to adapt to load changes and during rolling updates that are deployed as part of continuous delivery. This shift toward cycle of containers causes these approaches to struggle to scale side by side with the application as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be conjunction with cloud network routers If you are already running routing daemons Load Balancing Cilium implements distributed load balancing for traffic between application containers and to external services0 码力 | 1373 页 | 19.37 MB | 1 年前3
Cilium v1.9 Documentationindividual containers getting started or destroyed as the application scales out / in to adapt to load changes and during rolling updates that are deployed as part of continuous delivery. This shift toward cycle of containers causes these approaches to struggle to scale side by side with the application as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be conjunction with cloud network routers If you are already running routing daemons Load Balancing Cilium implements distributed load balancing for traffic between application containers and to external services0 码力 | 1263 页 | 18.62 MB | 1 年前3
Cilium v1.7 Documentationindividual containers getting started or destroyed as the application scales out / in to adapt to load changes and during rolling updates that are deployed as part of continuous delivery. This shift toward cycle of containers causes these approaches to struggle to scale side by side with the application as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be In conjunction with cloud network routers If you are already running routing daemons Load balancing Distributed load balancing for traffic between application containers and to external services. The loadbalancing0 码力 | 885 页 | 12.41 MB | 1 年前3
Cilium v1.6 Documentationindividual containers getting started or destroyed as the application scales out / in to adapt to load changes and during rolling updates that are deployed as part of continuous delivery. This shift toward cycle of containers causes these approaches to struggle to scale side by side with the application as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be In conjunction with cloud network routers If you are already running routing daemons Load balancing Distributed load balancing for traffic between application containers and to external services. The loadbalancing0 码力 | 734 页 | 11.45 MB | 1 年前3
Cilium v1.10 Documentationindividual containers getting started or destroyed as the application scales out / in to adapt to load changes and during rolling updates that are deployed as part of continuous delivery. This shift toward cycle of containers causes these approaches to struggle to scale side by side with the application as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be conjunction with cloud network routers If you are already running routing daemons Load Balancing Cilium implements distributed load balancing for traffic between application containers and to external services0 码力 | 1307 页 | 19.26 MB | 1 年前3
Cilium v1.8 Documentationindividual containers getting started or destroyed as the application scales out / in to adapt to load changes and during rolling updates that are deployed as part of continuous delivery. This shift toward cycle of containers causes these approaches to struggle to scale side by side with the application as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be In conjunction with cloud network routers If you are already running routing daemons Load balancing Distributed load balancing for traffic between application containers and to external services. The loadbalancing0 码力 | 1124 页 | 21.33 MB | 1 年前3
Cilium v1.5 Documentationwith individual containers ge�ng started or destroyed as the applica�on scales out / in to adapt to load changes and during rolling updates that are deployed as part of con�nuous delivery. This shi� toward cycle of containers causes these approaches to struggle to scale side by side with the applica�on as load balancing tables and access control lists carrying hundreds of thousands of rules that need to be In conjunc�on with cloud network routers If you are already running rou�ng daemons Load balancing Distributed load balancing for traffic between applica�on containers and to external services. The loadbalancing0 码力 | 740 页 | 12.52 MB | 1 年前3
Steering connections to sockets with BPF socket lookup hookecho service configured on this port? get echo server socket dispatch the packet to echo server Load echo_dispatch program $ make echo_dispatch.bpf.o clang -I…/linux/usr/include -I…/linux/tools/lib -I…/linux/tools/lib -g -O2 -Wall -Wextra -target bpf -c -o echo_dispatch.bpf.o echo_dispatch.bpf.c # bpftool prog load echo_dispatch.bpf.o /sys/fs/bpf/echo_dispatch_prog # bpftool prog show pinned /sys/fs/bpf/echo_dispatch_prog xlated 304B jited 197B memlock 4096B map_ids 28,29 btf_id 32 build the prog load & pin the prog Pin BPF maps used by echo_dispatch # mount -t bpf none ~vagrant/bpffs # sudo chown0 码力 | 23 页 | 441.22 KB | 1 年前3
Debugging the BPF Virtual Machine28, 2020 ● Debugging is useful to understand how things work ● Sometimes, eBPF programs can’t even load ● I couldn’t find good resources on this, so, here I am ● I break lots of eBPF programs ● The BPF bpf/syscall.c:796 (gdb) b bpf/syscall.c:121 (gdb) b kernel/bpf/ringbuf.c:159 Debug! Remember to: - Load the eBPF program and see if the breakpoint hits ● We can use it in bpf/verifier.c to do printf based0 码力 | 10 页 | 233.09 KB | 1 年前3
共 14 条
- 1
- 2













