Skip to main content

connectCoreV1PostNamespacedPodExec

connect POST requests to exec of Pod

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

Request

Path Parameters
name string
required

name of the PodExecOptions

namespace string
required

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

Query Parameters
command string
optional

Command is the remote command to execute. argv array. Not executed within a shell.

container string
optional

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

stderr boolean
optional

Redirect the standard error stream of the pod for this call.

stdin boolean
optional

Redirect the standard input stream of the pod for this call. Defaults to false.

stdout boolean
optional

Redirect the standard output stream of the pod for this call.

tty boolean
optional

TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.

Responses

*/* string

OK

Response body string

Unauthorized