Monitoring Overview
CCE works with AOM to comprehensively monitor clusters. When a node is created, the ICAgent (the DaemonSet named icagent in the kube-system namespace of the cluster) of AOM is installed by default. The ICAgent collects monitoring data of underlying resources and workloads running on the cluster. It also collects monitoring data of custom metrics of the workload.
- Resource metrics
Basic resource monitoring includes CPU, memory, and disk monitoring. For details, see Resource Metrics. You can view these metrics of clusters, nodes, and workloads on the CCE or AOM console.
- Custom metrics
The ICAgent collects custom metrics of applications and uploads them to AOM. For details, see Monitoring Custom Metrics on AOM.
Resource Metrics
On the CCE console, you can view the following metrics.
- Viewing Cluster Monitoring Data
- Viewing Monitoring Data of Worker Nodes
- Viewing Workload Monitoring Data
- Viewing Pod Monitoring Data
On the AOM console, you can view host metrics and container metrics.
Viewing Cluster Monitoring Data
- Log in to the CCE console and click the cluster name to access the cluster console.
- CCE allows you to view the monitoring data of all nodes. Choose Clusters from the navigation pane. Click the cluster name, and information like CPU Metrics and Memory of all nodes (excluding master nodes) in the last hour, the Status, AZ are displayed.
Table 1 Cluster monitoring metrics Metric
Description
CPU Allocation (%)
A metric indicates the percentage of CPUs allocated to workloads.
CPU Allocation (%) = Sum of CPU quotas requested by running pods in the cluster/Sum of CPU quotas that can be allocated from all nodes (excluding master nodes) to workloads
Memory Allocation (%)
A metric indicates the percentage of memory allocated to workloads.
Memory Allocation (%) = Sum of memory quotas requested by running pods in the cluster/Sum of memory quotas that can be allocated from all nodes (excluding master nodes) to workloads
CPU Usage (%)
A metric indicates the CPU usage of the cluster.
This metric is the average CPU usage of all nodes (excluding master nodes) in a cluster.
Memory Usage (%)
A metric indicates the memory usage of your cluster.
This metric is the average memory usage of all nodes (excluding master nodes) in a cluster.
Allocatable node resources (CPU or memory) = Total amount – Reserved amount – Eviction thresholds. For details, see Node Resource Reservation Policy.
Viewing Monitoring Data of Worker Nodes
CCE also allows you to view monitoring data of a single node.
- Log in to the CCE console and click the cluster name to access the cluster console.
- Choose Nodes in the navigation pane. On the right of the page, click Monitor of the target node to view the monitoring data.
- You can select statistical Dimension and choose time range to view the monitoring data. The data is provided by AOM. You can view the monitoring data of a node, including the CPU, memory, disk, networking, and GPU.
Table 2 Node monitoring metrics Metric
Description
CPU Usage (%)
A metric indicates the CPU usage of the node.
CPU Usage (%) = Used CPU cores/Total number of CPU cores
Used CPU Cores (cores)
A metric indicates the number of used CPU cores.
Physical Memory Usage (%)
A metric indicates the physical memory usage of the node
Physical Memory Usage (%) = (Physical memory capacity – Available physical memory)/Physical memory capacity
Available Physical Memory (GiB)
A metric indicates the unused physical memory of the node.
Disk Usage (%)
A metric indicates the disk usage of the file system on the data disk of the node. It is calculated based on the file partition. For details, see Data Disk Space Allocation.
Disk Usage (%) = (Disk capacity – Available disk space)/Disk capacity
Available Disk Space (GiB)
A metric indicates the unused disk space.
Downlink Rate (BPS) (KB/s)
A metric indicates the speed at which data is downloaded from the Internet to the node.
Uplink Rate (BPS) (KB/s)
A metric indicates the speed at which data is uploaded from the node to the Internet.
GPU Usage (%)
A metric indicates the GPU usage of the node.
GPU Memory Usage (%)
A metric indicates the percentage of the used GPU memory to the GPU memory capacity.
GPU Memory Usage (%) = Used GPU memory/GPU memory capacity
Used GPU Memory (GiB)
A metric indicates the used GPU memory.
Viewing Workload Monitoring Data
CCE allows you to view monitoring data of a single workload.
- Log in to the CCE console and click the cluster name to access the cluster console.
- Choose Workloads in the navigation pane. On the right of the page, click Monitor of the target workload. In the window that slides out from the right, the workload monitoring data is displayed.
- You can select statistical Dimension and choose time range to view the monitoring data. The data is provided by AOM. You can view the monitoring data of a workload, including the CPU, memory, networking, and GPU.
If there are multiple pods exist in the workload, the monitoring data may vary according to the statistical Dimension. For example, if you select Maximum or Minimum for Dimension, the value of each monitoring data is the maximum or minimum value of all pods under the workload. If Average is selected, the value of each monitoring data is the average value of all pods under the workload.
Table 3 Workload monitoring metrics Metric
Description
CPU Usage (%)
A metric indicates the CPU usage of the workload.
CPU Usage (%) = Used CPU cores/Total number of CPU cores of all running pods (If no limit is configured, the total number of the node's CPU cores is used.)
Used CPU Cores (cores)
A metric indicates the number of used CPU cores.
Physical Memory Usage (%)
A metric indicates the physical memory usage of the workload.
Physical Memory Usage (%) = Used physical memory/Total number of CPU cores of all running pods (If no limit is configured, the total number of the node's CPU cores is used.)
Used Physical Memory (GiB)
A metric indicates the amount of the used physical memory.
Disk Read Rate
A metric indicates the data volume read from a disk per second. The unit is KB/s.
Disk Write Rate
A metric indicates the data volume written to a disk per second. The unit is KB/s.
Downlink Rate (BPS) (KB/s)
A metric indicates the speed at which data is downloaded from the Internet.
Uplink Rate (BPS) (KB/s)
A metric indicates the speed at which data is uploaded from the node to the Internet.
GPU Usage (%)
A metric indicates the GPU usage of the workload.
GPU Memory Usage (%)
A metric indicates the percentage of the used GPU memory to the GPU memory capacity.
GPU Memory Usage (%) = Used GPU memory/GPU memory capacity
Used GPU Memory (GiB)
A metric indicates the used GPU memory.
Viewing Pod Monitoring Data
CCE allows you to view the monitoring date of your pods.
- Log in to the CCE console and click the cluster name to access the cluster console.
- Choose Workloads in the navigation pane. Then click the workload name of the target workload to list the pods.
- Click Monitor of the target pod to view the monitoring data.
- You can select statistical Dimension and choose time range to view the monitoring data. The data is provided by AOM. You can view the monitoring data of a pod, including the CPU, memory, disk, networking, and GPU.
If there are multiple containers in a single pod, the monitoring data may vary according to the statistical Dimension. For example, if you select Maximum or Minimum for Dimension, the value of each monitoring data is the maximum or minimum value of all containers under the pod. If Average is selected, the value of each monitoring data is the average value of all containers in the pod.
Table 4 Pod monitoring metrics Metric
Description
CPU Usage (%)
A metric indicates the CPU usage of the pod.
CPU Usage (%) = Used CPU cores/Total number of limited CPU cores of all running containers in the pod (If the limited CPU cores of all running containers are not specified, the number of the node's CPU cores is used.)
Used CPU Cores (cores)
A metric indicates the number of used CPU cores.
Physical Memory Usage (%)
A metric indicates the physical memory usage of the pod.
Physical Memory Usage (%) = Used physical memory/Sum of physical memory limits of all running containers in the pod (If not specified, the value of the node's physical memory is used.)
Used Physical Memory (GiB)
A metric indicates the amount of the used physical memory.
Disk Read Rate
A metric indicates the data volume read from a disk per second. The unit is KB/s.
Disk Write Rate
A metric indicates the data volume written to a disk per second. The unit is KB/s.
Downlink Rate (BPS) (KB/s)
A metric indicates the speed at which data is downloaded from the Internet.
Uplink Rate (BPS) (KB/s)
A metric indicates the speed at which data is uploaded from the node to the Internet.
GPU Usage (%)
A metric indicates the GPU usage of the pod.
GPU Memory Usage (%)
A metric indicates the percentage of the used GPU memory to the GPU memory capacity.
GPU Memory Usage (%) = Used GPU memory/GPU memory capacity
Used GPU Memory (GiB)
A metric indicates the used GPU memory of the pod.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot