Skip to content

runai attach


Attach to a running Job.

The command attaches to the standard input, output, and error streams of a running Job. If the Job has multiple pods the job will attach to the first pod unless otherwise set.


runai attach <job-name>
    [--no-stdin ]
    [--pod string]
    [--loglevel value] 
    [--help | -h]


<job-name> - The name of the Job to run the command with. Mandatory.


Do not attach STDIN.


Do not allocate a pseudo-TTY

--pod string

Attach to a specific pod within the Job. To find the list of pods run runai describe job <job-name> and then use the pod name with the --pod flag.

Global Flags

--loglevel (string)

Set the logging level. One of: debug | info | warn | error (default "info").

--help | -h

Show help text.