how to exec into kubernetes pod and switch containers code example Example: kubectl exec ls -lah kubectl exec <pod_name> -- ls -la /