title: Testing connection out from within running container. Kubernetes. Amazon Linux 2
body: <p>I am trying to test an outbound connection from within a Amazon Linux 2 container that is running in Kubernetes. I have a service set up and I am able to telnet to that service through a VPN. But I want to test a connection coming out from that container. Is there a way that this can be done.
  I have tried the ping, etc. but the commands all say &quot;command not found&quot;</p>
  <p>Is there any command I can run that can test an outbound connection?</p>