All Products
Search
Document Center

Container Service for Kubernetes:Cost control

Last Updated:Mar 26, 2026

Cost control is an essential part of FinOps. After you extract insights from cost data and implement cost optimization strategies, use cost control to keep the entire cost governance process in check and prevent overruns across clusters, departments, and applications.

Cost control at different levels

Container Service for Kubernetes (ACK) supports cost control at three levels:

LevelUnitHow it works
ClusterClusterACK automatically tags all Alibaba Cloud resources in a cluster with the key ack.aliyun.com and the cluster ID as the value. Activate this tag in Expenses and Costs, then create a cost center to track cluster-level spend.
DepartmentDepartment (smallest allocation unit)Department administrators set budgets and compare them against actual costs to detect and act on overruns early.
ApplicationApplication (smallest budget unit)Application administrators set cost baselines to track cost trends and prevent overruns.

View cluster costs

This section shows how to activate the ACK cluster tag, set up a cost center, and view per-cluster costs in Expenses and Costs.

Prerequisites

Before you begin, ensure that you have:

Get the cluster ID

  1. Log on to the ACK console. In the left-side navigation pane, click ACK consoleClusters.

  2. In the cluster list, copy the cluster ID from the Cluster Name /ID column.

Activate the cluster tag

ACK automatically adds the ack.aliyun.com tag to all resources in your cluster. Activate the tag in Expenses and Costs to make it available for cost allocation.

  1. Log on to Expenses and Costs.Expenses and Costs

  2. In the left-side navigation pane, choose Manage Split > Cost allocation tags.

  3. On the Cost allocation tags page, enter ack.aliyun.com in the Tag Key field and click Search. In the Actions column of ack.aliyun.com, click Enable.

Create a cost center

  1. In the left-side navigation pane of the Expenses and Costs console, choose Cost Management > Cost Analysis.

  2. In the left-side navigation pane, choose Split Bill Management > Cost allocation tags.

  3. In the middle navigation pane, click the image icon next to Cost Center below Unallocated Resources. In the Add Cost Center dialog box, enter a name and click OK.

    1. In the left-side navigation pane, choose Split Bill Management > Cost Center.

    2. In the Overview section, under Unallocated Resources, click the 财务单元 icon next to Cost Center. In the Add Cost Center dialog box, enter a name for the center, such as test, then click OK.

    3. In the Overview section, click the name of the Cost Center. On the Automatic Allocation Rule tab, click Add Rule.

    4. Click the Condition icon, set the condition option to Labels, the tag Key to ack.aliyun.com, and the tag Value to the cluster ID, leave the other settings at their default values, and then click Submit.

      条件选项

  4. In the middle navigation pane, click the name of the cost center, then click Create Rule on the Automatic Allocation Rule tab.

  5. Click the image icon. Set Condition1 to Tag, select ack.aliyun.com as the tag key, and select the cluster ID as the tag value. Keep the default settings for other parameters, then click Submit.

    条件选项

View cluster costs

  1. In the left-side navigation pane of the Expenses and Costs console, choose Cost Management > Cost Analysis.

  2. In the Filters section, click Cost Center, select the cost center you created, and then click Apply. The Cost Analysis page shows the monthly cost of the cluster.Apply

    Data for a new cost center becomes available after 24 hours.

    集群成本

What's next