The cost management suite of Container Service for Kubernetes (ACK) provides the cost optimization check feature. You can use this feature to identify idle resources in your cluster. After idle resources are identified, you can manage the resources based on your business requirements. This feature also checks whether workload resource configurations are reasonable and provides recommended configurations.
Cost optimization check items
Idle resource check
The idle resource optimization feature checks whether the following resources are idle: Elastic Compute Service (ECS) instances, Elastic Block Storage (EBS) devices, Classic Load Balancer (CLB) instances, and elastic IP addresses (EIPs).
Resource type | Abnormal conditions |
ECS instance | The Elastic Compute Service (ECS) instance has a label of the cluster but does not belong to the cluster. |
EBS device |
|
CLB instance |
|
EIP |
|
Workload resource configuration check
Checks whether memory and CPU request values or limit values are set for workloads.
Resource type | Abnormal conditions |
Workloads |
|
Prerequisites
The cost optimization check feature is available only for ACK managed clusters and ACK dedicated clusters. Make sure that an ACK managed cluster or an ACK dedicated cluster is created. For more information, see Create an ACK managed cluster or Create an ACK dedicated cluster (discontinued).
Perform a cost optimization check
When you perform a cost optimization check, the system initiates a cluster inspection in your cluster. You can also view the cost optimization check results on the Cluster Inspections page.
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, find the cluster you want and click its name. In the left-side pane, choose .
On the Cost Optimization page, click the Cost Optimization Check tab, and then click Check.
View cost optimization check results
On the Cost Optimization page, click the Cost Optimization Check tab to view the results of the most recent check.
In the Idle Resource Optimization check results, click Handle in the Actions column of a specific resource to go to the corresponding console to manage the idle resource.
In the Improper Workload Resource Configuration Optimization check results, click Recommended Resource Configuration in the Actions column of a specific workload to go to the Resource Profiling page of the workload. You can upgrade or downgrade the specifications based on the analysis results on the Resource Profile page. For more information, see Resource profiling.
You can also click Historical Checks on the Cost Optimization Check page to view historical check results and take actions based on the results.