You can test connectivity to pod (using IP or name) and external domain
Test connectivity and exit
kubectl testnet [endpoint:port]
Launch a container and test connectivity on-demand:
# launch on-demand testnet pod
kubectl testnet server -l app=toto
# trigger test to google.com:80
kubectl testnet client google.fr:80 -l app=toto
See testnet logs:
kubectl testnet client --log -l app=toto
Put kubectl-testnet
in your $PATH