Open cluster-shell WebSocket
GET /api/v1/cluster/instances/kubernetes//cluster-shell. Kubernetes API reference.
Open cluster-shell WebSocket
Authentication · API availability · Download OpenAPI
Switching Protocols — WebSocket establishedA successful response.Bad Request. The API gateway did not process the request because of invalid value of filter parameters.Unauthorized. The API gateway did not process the request because of invalid credentials.Forbidden. User does not have access to this cluster’s project.Internal Server Error. Pod creation, SA token fetch, or upstream WebSocket failed.An unexpected error response.
Authorizations
Bearer token for the ZedCloud gateway user session
Headers
User-Agent specified id to track a request
Path Parameters
Rancher cluster ID
Query Parameters
Shell command to execute inside the cluster-shell pod. Defaults to /bin/sh.
Response
Switching Protocols — WebSocket established