title: How to Check if ping utility is present in pod
body: <p>I want a command to check if ping utility is present in a pod i tried this</p>
  
  <pre><code>kubectl exec -it auxiliary-etcd-ubuntu -n kube-system -c etcd-auxiliary-0 ping -c 1 127.0.0.1 ; echo $?
  </code></pre>
  
  <p>Response is.</p>
  
  <pre><code>Error from server (BadRequest): container 1 is not valid for pod auxiliary-etcd-ubuntu
  1
  </code></pre>
  
  <p>Is there any other better to just check if ping utility is already present or installed in a kubernetes pod.</p>
  
  <p>Thanks in advance.</p>