link
Execute a command in a pod
kubectl exec -it <pod-name> -- /bin/sh
Shell into pod
kubectl exec -it my-app-pod-1234 -- /bin/sh