<p>I am learning kubernetes right now.I want to enter a pod which is in remote cluster . But, I don't know it's entrypoint. I can't find it using <strong>$kubectl describe pod podname</strong>.</p>

<p>If you want to access the shell in a Container(POD), You can use the following command. </p>

<pre><code>kubectl exec POD -c CONTAINER -- COMMAND [args...]
</code></pre>

<p>For example, IF the Pod has bash shell, you can access it with the following command.  </p>

<pre><code>kubectl exec -it shell-demo -- /bin/bash 
</code></pre>

<p>You will be able to access the shell </p>

<blockquote>
  <p>root@shell-demo:/# ls /</p>
</blockquote>

<p>Here is the reference <a href="https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/" rel="nofollow noreferrer">get-shell-running-container</a></p>
