This section explains how to view pod details.

Prerequisites

You need to join a project and have the Application Workloads View permission in the project. For more information, see Project Members and Project Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Application Workloads View permissions and enter your workspace.

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

  3. Select a project from the drop-down list in the upper left corner of the page.

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

  5. On the pod details page, view the resource attributes of the pod in the Attributes area.

    Parameter Description

    Cluster

    The cluster to which the pod belongs.

    Project

    The project to which the pod belongs.

    Application

    The application to which the pod belongs.

    Status

    The status of the pod.

    • Pending: The pod has been accepted by the system, but at least one container has not been created or is not running. In this state, the pod may be waiting to be scheduled or waiting for the container image to be downloaded.

    • Running: The pod has been assigned to a node, all containers in the pod have been created, and at least one container is running, starting, or restarting.

    • Succeeded: All containers in the pod have terminated successfully (terminated with exit code 0) and will not be restarted.

    • Failed: All containers in the pod have terminated, and at least one container terminated with a non-zero exit code.

    • Unknown: The system is unable to retrieve the pod’s status. This state typically occurs due to communication failure between the system and the host where the pod is located.

    Pod IP Address

    The virtual IP address of the pod within the cluster.

    Node Name

    The name of the node where the pod is located.

    Node IP Address

    The IP address of the node where the pod is located.

    Restart Count

    The number of times the pod has been restarted.

    QoS Type

    The Quality of Service type of the pod, used to define resource allocation and scheduling priority. Determined by the user-configured container memory limit, memory request, CPU limit, and CPU request.

    • Guaranteed: Every container in the pod has memory limits, memory requests, CPU limits, and CPU requests set, and the memory limit equals the memory request, and the CPU limit equals the CPU request.

    • Burstable: At least one container in the pod does not meet the requirements for the Guaranteed type.

    • BestEffort: The containers in the pod are not configured with any memory limits, memory requests, CPU limits, or CPU requests.

    The QoS type of a pod determines its runtime priority. When system resources are insufficient to run all pods, the system prioritizes ensuring the operation of pods with a QoS type of Guaranteed, followed by pods with a QoS type of Burstable, and lastly, pods with a QoS type of BestEffort.

    Creation Time

    The creation time of the pod.

    Creator

    The creator of the pod.

  6. View the containers and volumes in the pod on the Resource Status tab.

    Parameter Description

    Containers

    Displays the name, status, restart count, and container ports of the containers running in the pod. Container status types include:

    • Pending: The container is performing pre-start operations, such as pulling images from the image service or reading data from Secrets.

    • Running: The container is running normally. If the container is configured with a post-start action and its status is Running, then the container’s pre-start actions have been completed.

    • Terminated: The container has ended successfully, or has ended due to some failure.

    Click log to the right of the container name to view the container logs. Hover over Probes to view the probes configured on the container.

    Volumes

    Displays the names of all volumes in the pod, the containers to which the volumes are mounted, and the mount paths of the volumes on the containers.

  7. Click the Scheduling Information tab to view the scheduling results and status information of the pod.

    Parameter Description

    Scheduling Result

    Displays the name of the node that received the pod.

    Status Information

    Displays the status of the pod and whether all startup steps have been successfully completed.

    • Pod Scheduled: Whether the pod has been scheduled to a node.

    • Pod Initialized: Whether all init containers in the pod have started successfully.

    • Containers Ready: Whether all containers in the pod have started successfully.

    • Pod Ready: Whether the pod is ready.

  8. Click the Metadata tab to view the labels and annotations of the pod.

  9. Click the Environment Variables tab to view the environment variables of all containers in the pod.

  10. Click the Events tab to view events related to the pod.

    Parameter Description

    Type

    The type of the event, including Normal and Warning.

    Reason

    The reason why the event occurred.

    Occurrence Time

    The time when the event occurred.

    Source

    The component that reported the event.

    Message

    The content of the event message.