/k8s-debug-container

Docker image to use as Kubernetes debug container

Primary LanguageShellMIT LicenseMIT

k8s-debug-container

Docker image to use as Kubernetes debug container

Usage

$ docker build . -t debug-tools

$ kubectl debug -it $POD_NAME --image=debug-tools:latest --target=$CONTAINER_NAME

Tools

Legacy utility Replacement command Note
ifconfig ip addr, ip link Address and link configuration
route ip route Routing tables
arp ip neigh Neighbors
iptunnel ip tunnel Tunnels
nameif, ifrename ip link set name Rename network interfaces
ipmaddr ip maddr Multicast
netstat ss, ip route Show various networking statistics
brctl bridge Handle bridge addresses and devices