A disposable container with network debugging tools for use in Kubernetes or Docker.
kubectl run hackbox --rm -it --image ghcr.io/jzandbergen/hackbox:latest -- bash
kubectl attach hackbox -it
kubectl run hackbox --rm -it \
--image ghcr.io/jzandbergen/hackbox:latest \
--overrides='{"spec":{"nodeName":"<node-name>"}}' \
-- bash
Use the yaml file as a template for modifications.
kubectl create -f deployments/pod.yaml
kubectl attach hackbox -it
kubectl create -f deployments/daemonset.yaml
docker run --rm -it ghcr.io/jzandbergen/hackbox:latest