Skip to main content

connectCoreV1PostNamespacedPodAttach

connect POST requests to attach of Pod

POST/api/v1/namespaces/{namespace}/pods/{name}/attach
Source
specs/api__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697

Request

Path Parameters
name string
required

name of the PodAttachOptions

namespace string
required

object name and auth scope, such as for teams and projects

Query Parameters
container string
optional

The container in which to execute the command. Defaults to only container if there is only one container in the pod.

stderr boolean
optional

Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.

stdin boolean
optional

Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.

stdout boolean
optional

Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.

tty boolean
optional

TTY 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.

Responses

*/* string

OK

Response body string

Unauthorized