Assorted network debugging goodies, like tcpdump, socat/websocat, iperf, nmap, nslookup, dig, tcpreplay, and ping/traceroute, all packaged in a self-contained Docker image. The intended use is to sideload the container as a sidecar to Kubernetes pods in order to debug network reachability and performance issues.
Config: yaml
Usage:
kubectl apply -f examples/net-debug.yamlor
kubectl apply -f https://raw.githubusercontent.com/l7mp/net-debug/refs/heads/main/examples/net-debug.yamlConfig: yaml
Usage:
kubectl apply -f examples/net-debug-host.yamlor
kubectl apply -f https://raw.githubusercontent.com/l7mp/net-debug/refs/heads/main/examples/net-debug-host.yamlConfig: yaml
Usage:
kubectl apply -f examples/net-debug-dameonset.yamlor
kubectl apply -f https://raw.githubusercontent.com/l7mp/net-debug/refs/heads/main/examples/net-debug-daemonset.yamlTo attach net-debug to an existing pod as a debug container:
kubectl debug <pod_name> -it --image=docker.io/l7mp/net-debug -- bashDevelopment is coordinated in Discord, feel free to join.
MIT License - see LICENSE for full text.