Skip to main content

Create pod terminal session

Create pod terminal session

Path Parameters
    namespace string required

    The specified namespace.

    pod string required

    pod name

Responses

OK

GET /kapis/terminal.kubesphere.io/v1alpha2/namespaces/:namespace/pods/:pod/exec

Authorization

name: Authorizationtype: apiKeydescription: Bearer Token Authenticationin: header

Request

BearerToken
namespace — path required
pod — path required
curl / cURL
curl -L -X GET 'https://docs.kubesphere.com.cn/kapis/terminal.kubesphere.io/v1alpha2/namespaces/:namespace/pods/:pod/exec' \
-H 'Authorization: <API_KEY_VALUE>'