Updated on 2024-11-12 GMT+08:00

Pod Monitoring

To monitor the resource usage of pods, choose Monitoring Center > Pods. This tab provides information about all pods in a cluster and monitoring data of a single pod, such as CPU and memory usages and network inbound and outbound rates.

Navigation Path

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. In the navigation pane, choose Monitoring Center. Then, click the Pods tab.

    Pods displays information about all pods. To view the monitoring information of a pod, click the pod name to access the Overview tab and switch to the Containers and Monitoring tabs as needed.

Pods

This tab displays the name, status, namespace, IP address, node, number of restarts, and resource metrics of each pod.

Figure 1 Pods

You can search for the desired pod by namespace and pod name, status, pod IP address, or node.

You can click Export to export data of all pods or selected pods. The exported file is in .xlsx format, and the file name contains the timestamp.

Overview

You can click the pod name to view the resource overview, including the pod status, number of containers (abnormal/total), and abnormal events. You can also view the monitoring overview of the pod and its node in the last hour, including the CPU usage, memory usage, and network inbound/outbound rate.

Figure 2 Resource overview and container monitoring

The Overview tab also displays the container usage trend. You can view the resource metrics of each container in the pod. You can also view the top 5 data in descending or ascending order.

For more metrics, go to the Monitoring tab.

Containers

You can view the name, status, namespace, number of restarts, creation time, and image of each container.

Figure 3 Containers

You can search for the desired container by name, status, or namespace. You can click Export to export data of all containers or selected containers. The exported file is in .xlsx format, and the file name contains the timestamp.

Monitoring

This tab displays the resource metrics of a pod from the last 1 hour, last 8 hours, last 24 hours, or a custom period. To view more monitoring information, click View Dashboard to access Dashboard. For details, see Using Dashboard.

Figure 4 Pod monitoring

  • CPU Metrics
    • CPU usage: The CPU used by all containers in the pod in different time periods/CPU limits of all containers × 100%
    • Used CPU: the CPU that the pod is using
    • CPU request: the CPU requested by the pod
    • CPU limit: the CPU limit of the pod. When the used CPU is close to this limit, the CPU usage of the containers will be limited, affecting container performance.
  • Memory Metrics
    • Memory usage: The memory used by all containers in the pod in different time periods/Memory limits of all containers × 100%
    • Used memory: the memory that the pod is using
    • Memory request: the memory requested by the pod
    • Memory limit: the memory limit of the pod. When the used memory is close to this limit, OOM will occur.
  • Networking Metrics
    • Total outbound rate: the total number of bytes sent by all containers in the pod per second
    • Total inbound rate: the total number of bytes received by all containers in the pod per second
  • Container Metrics
    • Container CPU usage: The CPU used by each container in the pod in different time periods/The CPU limit of each container × 100%
    • Container memory usage: The memory used by each container in the pod in different time periods/The memory limit of each container × 100%
    • Container CPU throttled: the percentage of the time that each container has been throttled in different time periods
    • Container network packet loss rate: The packets not received by each container in the pod/The packets sent to each container in different time periods × 100%
  • Other Metrics
    • Historical pod status: the status of the pod in different periods
    • Historical container status: the status of each container in the pod in different time periods