connect Core V1Get Namespaced Pod Attach

GET {{baseUrl}}/api/v1/namespaces/:namespace/pods/:name/attach?container=<string>&stderr=<boolean>&stdin=<boolean>&stdout=<boolean>&tty=<boolean>

connect GET requests to attach of Pod

Request Params

KeyDatatypeRequiredDescription
containerstringThe container in which to execute the command. Defaults to only container if there is only one container in the pod.
stderrstringStderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.
stdinstringStdin if true, redirects the standard input stream of the pod for this call. Defaults to false.
stdoutstringStdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.
ttystringTTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

&quot;\u003cstring\u003e&quot;