K8s容器终端
连接到Pod终端
通过WebSocket连接到指定Pod的终端
get/k8s/cluster/{id}/namespaces/{namespaceName}/pods/{podName}/terminal
Request
- The document declares no server URL.
- Authnone declared. Required headers: Authorization
Path parameters
idinteger required
集群ID
namespaceNamestring required
命名空间名称
podNamestring required
Pod名称
Query parameters
containerNamestring
容器名称(默认为Pod中第一个容器)
commandstring
执行命令(默认为/bin/bash)
Headers
Authorizationstring required
Bearer 用户Token
Changes
No recorded changes to this operation across all 1 revision of this API.