You can view the resource usage on the nodes of a cluster in the Container Service
for Kubernetes console.
Procedure
- Log on to the Container Service for Kubernetes (ACK) console.
- In the left-side navigation pane, click Clusters.
- On the Clusters page, click the name of a cluster or click Details in the Actions column. The details page of the cluster appears.
- The Cluster Information page appears. In the left-side navigation pane, click Nodes.
On the
Nodes page, you can view the request rate and usage of CPU and memory on each node. The
following formulas show how to calculate the request rate and usage:
- CPU request rate = sum (The amount of CPU requested by all pods on the node)/Total
CPU of the node
- CPU usage rate = sum (The amount of CPU used by all pods on the node)/Total CPU of
the node
- Memory request rate = (The amount of memory requested by all pods on the node)/Total
memory of the node
- Memory usage rate = sum (The amount of memory used by all pods on the node)/Total
memory of the node
Note
- You can adjust the workload of a node based on resource usage. For more information,
see Mark a node as unschedulable.
- If both the resource request and usage are 100% on a node, new pods will not be scheduled
to this node.