Skip to main content

Interactive shell (WebSocket, TTY)

GET 

/ws/namespaces/:namespace/pods/:name/exec

Permission: pods:exec in the namespace of the path (permissions).

Binary frames are stdin / stdout; text frame {"type":"resize","cols":120,"rows":40}. Query container, command (default: the first of bash, ash, sh). Recorded.

Request​

Responses​

Switching protocols (WebSocket). Connect with ?ticket= from POST /api/ws-ticket.