title: How to send a command to running container in Kubernetes?
body: <p>I can get the IP address of the exposed container through:</p>
  
  <pre><code>kubectl get service hello-node
  </code></pre>
  
  <p>Say that I want to run <code>ls</code> on this container and obtain the results. How could I do that?</p>