kubectl - Commands Get a Shell to a Running Container kubectl get pod kubectl exec --stdin --tty PODNAME -- /bin/bash