$ export WORKER_NODE_IP=$(k describe po <pod_name> | grep "^Node:" | cut -f '2' -d '/')
$ ssh "${WORKER_NODE_IP}"
$ export PROCESS_PID=$(docker inspect --format '{{ .State.Pid }}' <id|name>)
$ nsenter -t $PROCESS_PID -n <command_from_worker_node>
Those containers are tipically 3-5MB size just enought to run GO app. In order to debug connectivity at least CURL is required. Package manager isn't part of the image,
kubectl exec
to any shell will not as well.
From worker host is possible to enter name space of PID running GO app and execute CURL:
$ nsenter -t 34847 -n curl some.pod.svc.cluster.local