network design and self-check through leaf
1、docker pod 访问 外网
# git clone https://github.com/linuxkerneltravel/leaf.git
# cd leaf
# make build
# ./leaf -H 1.1.1.1
# pod eth0 10.88.0.23, ping 1.1.1.1 -c 1
2、node 访问 eip
# ./leaf -H 1.1.1.1 --proto icmp --scene node2eip -d
# node eth0 192.168.64.11, ping 1.1.1.1 -c 1
This is an open source project. The userspace code is licensed under Apache-2.0, while the BPF under BSD 2-Clause and GPL-2.0. Everybody is welcome to contribute. Contributors are required to follow the Contributor Covenant Code of Conduct and must adhere to the Developer Certificate of Origin by adding a Signed-off-by line to their commit messages.