kubectl-exec
Execute a command in a container. tldr-pages
On several platforms
Several platforms
Open Bash in a pod, using the first container by default
kubectl exec pod_name --stdin --tty -- bashIdentify--stdinPass stdin to the container kubectl reference--ttyStdin is a TTY kubectl reference