This section describes how to view workload details.

Prerequisites

You need to join a cluster and have the Application Workloads View 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 Workloads View permissions and enter your cluster.

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

  3. On the Workloads page, click Deployments, StatefulSets, or DaemonSets, then click the name of a workload in the list to open its details page.

  4. On the workload details page, view the resource attributes of the workload in the Attributes area. Click the attribute bar to collapse this area.

    Parameter Description

    Cluster

    The cluster to which the workload belongs.

    Project

    The project to which the workload belongs.

    Application

    The name of the application to which the workload belongs. You can create an application that contains multiple services, each corresponding to a workload.

    Creation Time

    The creation time of the workload.

    Update Time

    The update time of the workload.

    Creator

    The user who created the workload.

  5. On the workload details page, click Events to view events related to the workload.

    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.

  6. On the workload details page, click Edit Configuration to modify the configuration of the workload. For more information, refer to "Editing Workload Settings".

  7. On the workload details page, click Revision Records to view the modification information of the workload.

    • Select a revision record from the dropdown list to view its serial number, creation time, and configuration file. The KubeSphere system automatically assigns a serial number to each revision record and retains up to 10 records.

    • The Configuration File area displays the differences between the current configuration file and the previous revision’s configuration file. Click chevron-down to display the configuration file differences vertically, and click chevron-right to display them horizontally.

  8. In the Container Status Management area, view the container information and container replica information within the workload.

    • If the workload contains multiple containers, click the container name to select other containers from the dropdown list, then view the resource status, container replicas, and other information for that container below.

    • Under Container Resource Status, view the current container’s environment variables, port information, and mounted volumes.

    • Under Container Replica List, view information about the container replicas.

      • Click Container Logs to view the logs of the current container.

      • Click Pod Events to view events related to the pod to which the current container belongs.

      • Click more > Terminal to open the container terminal. You can use the container terminal to execute commands inside the container.

      • Click more > Details to view detailed information about the pod to which the current container belongs.