Access Container Terminal

This section introduces how to access the container terminal.

Note

KubeSphere only supports accessing the terminal of running containers.

Prerequisites

You should join a project and have the Application Workload Management permission within the project. For more information, refer to “Project Members” and “Project Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Application Workload Management permission, and access your project.

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

  3. Click the name of a pod in the list to open its details page.

  4. On the Resource Status tab, in the Containers section, click terminal on the right side of the container name to open the container terminal . You can use the terminal to run commands inside the container.

  5. In the dropdown list at the top right corner of the container terminal page, select a container to quickly access the terminal of other containers in the same pod.