The cost insights feature helps financial administrators in IT enterprises analyze the usage and cost trend of resources in Container Service for Kubernetes (ACK) clusters from multiple dimensions and offers suggestions on cost optimization. This topic describes the steps to activate the cost insights feature in Knative.
Prerequisites
A Knative Service is deployed. For more information, see Use Knative to deploy serverless applications.
The cost insights feature is enabled. For more information, see Enable cost insights.
NoteFor more information about the features and use scenarios of cost insights, see Overview of cost insights.
Procedure
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, find the cluster that you want to manage and click its name. In the left-side navigation pane, choose .
Click the Services tab. Select the Knative Service you created and click Cost Insights in the Actions column to view the application-level cost data.
The following table describes the main parameters. For more information about the details, see Cost insights feature description.
Parameter
Description
Application Cost
The aggregate estimated cost of the Knative Service in real time within the queried time range.
Pod Dimension Business Cost Analysis
The estimated cost for each pod of the Knative Service in real time within the queried time range.
References
You can select a proper cost allocation model when you view cost insights data, such as the CPU Model, Memory Model, and CPU-Memory Hybrid Model. For more information about the calculation formulas of different models, see Cost estimation policies.