Difficulty: Beginner
How do you get a shell inside a running Pod?
Run `kubectl exec -it <pod-name> -- /bin/sh` or `/bin/bash`.
Terminal, Exec
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.