This section describes how to access a container terminal.

Note

KubeSphere only supports accessing the terminal of a running container.

Prerequisites

You need to join a cluster and have the Application Workload Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your cluster.

  2. Click Application Workloads > Pods in the left navigation pane.

  3. In the pod list, click the name of a pod to open its details page.

  4. On the Resource Status tab, in the Containers section, click terminal next to the container name to open the container terminal. You can use the container terminal to execute commands inside the container.

  5. In the upper right corner of the container terminal page, select a container from the dropdown list to quickly access the terminal of other containers within the same pod.