← Debugging387 / 640
easykubectl

Open an interactive shell session inside a running pod container

command

kubectl exec -it POD_NAME -- /bin/sh

also accepted

kubectl exec -it

Command breakdown

Part of the Kubernetes CLI (kubectl) — Debugging category.

kubectlexec-itPOD_NAME--/bin/sh
FlagPurpose
--Boolean flag

Test your recall — not just your reading.

Practice with interactive quiz →