Troubleshooting Networking

Troubleshooting Networking

Missing tools

Share namespaces

k8s 1.16 introduces ephemeral containers to troubleshoot pods

Demo: Namespace sharing

Run container which needs troubleshooting:

docker run -d --name nginx nginx

Join namespaces with existing container:

docker run -it --rm \
    --net container:nginx \
    --pid container:nginx \
    alpine