Updated on 2024-06-26 GMT+08:00

Pod Monitoring

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

Navigation Path

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

    This page displays information about all pods. To view the monitoring information of a pod, click the pod name to access its Overview tab and switch to the Containers or Monitoring tab.

Pods

This tab lists the name, status, namespace, IP address, node, number of restarts, CPU request/limit, memory request/limit, CPU usage, and memory usage 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 node in the last hour, including the CPU usage, memory usage, and network inbound/outbound rate.

Figure 2 Resource overview and monitoring overview

The Overview tab also shows the container usage trend. You can switch the metrics in the upper right corner of the chart to view the CPU usage, used CPUs, memory usage, and used memory of each container in the pod. You can also click Top 5 (Descending) or Top 5 (Ascending) in the upper left corner to view the top 5 data in descending or ascending order.

For more metrics, go to the Monitoring tab.

Containers

This tab contains details such as the name, status, namespace, number of restarts, 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 shows the resource usage of the pod in each dimension in the last 1 hour, last 8 hours, last 24 hours, or a custom period. To view more monitoring information, click View Dashboard to access the Dashboard page. For details, see Using Dashboard.

Figure 4 Pod monitoring
  • CPU Metrics
    • CPU usage: the percentage of CPU used by all containers in a pod in different time periods to the total CPU limit for all containers.
    • Used CPU: the CPU that the pod is using.
    • CPU request: the CPU requested for the pod.
    • CPU limit: the CPU limit configured for 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 percentage of memory used by all containers in a pod in different time periods to the total memory limit for all containers.
    • Used memory: the memory that the pod is using.
    • Memory request: the memory requested for the pod.
    • Memory limit: the memory limit configured for the pod. When the used memory is close to this limit, OOM will occur.
  • Networking Metrics
    • Total outbound rate: the total number of bytes transmitted 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 percentage of CPU used by each container in the pod in different time periods to the CPU limit for each container.
    • Container memory usage: the percentage of memory used by each container in the pod in different time periods to the memory limit for each container.
    • Container CPU throttled: the percentage of time duration each container has been throttled in different time periods.
    • Container network packet loss rate: the percentage of packets not received by each container in the pod to packets sent to each container in different time periods.
  • 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.