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.yaml
or
kubectl apply -f https://raw.githubusercontent.com/l7mp/net-debug/refs/heads/main/examples/net-debug.yaml
Config: yaml
Usage:
kubectl apply -f examples/net-debug-host.yaml
or
kubectl apply -f https://raw.githubusercontent.com/l7mp/net-debug/refs/heads/main/examples/net-debug-host.yaml
Config: yaml
Usage:
kubectl apply -f examples/net-debug-dameonset.yaml
or
kubectl apply -f https://raw.githubusercontent.com/l7mp/net-debug/refs/heads/main/examples/net-debug-daemonset.yaml
To attach net-debug to an existing pod as a debug container:
kubectl debug <pod_name> -it --image=docker.io/l7mp/net-debug -- bash
Development is coordinated in Discord, feel free to join.
MIT License - see LICENSE for full text.