Start an interactive shell inside a container.
Section: Delete, Copy, and Exec
Open shell in pod
bash
bash
kubectl exec -it web-abc123 -n payments -- /bin/shExplanation
Start an interactive shell inside a container.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Delete, Copy, and Exec