This is built to address the use case of deploying an app into a kubernetes cluster and testing the network configurations.
- wget
- curl
- netstat
- nmap
- grpcurl
- hping3
- nc (netcat)
- mongodb
docker build -t docker.io/cmwylie19/debug-container:latest .; docker push docker.io/cmwylie19/debug-container:latest;k rollout restart deploy/debug
kubectl apply -f k8s/
kubectl exec -it svc/debug -- sh
# curl a service in your cluster, in this case httpbin
curl -i httpbin.default.svc.cluster.local:8000/get
# if you have a grpc service called grpc-tests exposed at port 8080
grpcurl -plaintext grpc-tests:8080 list
# Run TCPDump
tcpdump eth0
# DIG
dig httpbin.default.svc.cluster.local
# netstat numeric route
netstat -rn