kubectl attach <Running Pods>
Attach to a process that is already running inside an existing container
Arguments
| Name | Description | 
|---|---|
| Running Pods | 
Options
| Name | Description | 
|---|---|
| -c, --container  <Container> | Container name. If omitted, the first container in the pod will be chosen | 
| --pod-running-timeout  <arg> | The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running | 
| -i, --stdin | Pass stdin to the container | 
| -t, --tty | Stdin is a TTY |