Cost optimization check

更新时间:
复制 MD 格式

The cost optimization check, a feature of ACK Cost Suite, scans for idle resources and evaluates workload configurations. This helps you address unused resources and provides configuration recommendations.

Cost optimization check items

Idle resource check

This check identifies idle ECS instances, Elastic Block Storage volumes, CLB instances, and EIPs.

Resource type

Flagged when

ECS

The instance is tagged for the cluster but is not a node in this cluster.

Elastic Block Storage

  • The volume is unattached.

  • The node to which the volume is attached is idle.

  • The volume is tagged for the cluster but is not attached to any resource in the cluster.

CLB

  • The instance is stopped.

  • The instance has no backend servers.

  • All backend servers of the instance have a weight of 0.

  • The instance has no listeners.

  • All listeners of the instance are stopped.

EIP

  • The associated node is idle.

  • The associated SLB instance is idle.

  • The instance is not associated with any resource.

Workload resource configuration check

This check verifies if a workload has configured memory and CPU requests or limits.

Resource type

Flagged when

Workload

  • The workload is missing a memory request or limit.

  • The workload is missing a CPU request or limit.

Prerequisites

The cost optimization check feature is available only for ACK managed clusters and ACK dedicated clusters. Make sure that you have created an ACK managed cluster or an ACK dedicated cluster. For more information, see Create an ACK managed cluster and Create an ACK dedicated cluster (discontinued).

Run a cost optimization check

Note

When you run 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.

  1. Log on to the ACK console. In the left navigation pane, click Clusters.

  2. On the Clusters page, click the name of your cluster. In the left navigation pane, click Cost Suite > Cost Optimization.

  3. On the Cost Optimization page, click the Cost Optimization Check tab, and then click Run Check.

Check results

On the Cost Optimization page, click the Cost Optimization Check tab to view the latest check results.

  • In the Idle Resource Optimization check results, find the target resource and click Handle in the Actions column. You will be taken to the resource's console to manage it.

  • In the Improper Workload Resource Configuration Optimization check results, find the target workload and click Recommended Resource Configuration in the Actions column. You will be taken to the workload's Resource Profiling page, where you can adjust its specifications based on the analysis. For more information, see Resource Profiling.

You can also click Historical Checks on the Cost Optimization Check page to view past results and take action.