Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Cost Insights for a Cluster

Updated on 2025-01-07 GMT+08:00

Cost Insights for a cluster helps cost O&M personnel analyze cluster costs and resource usages from multiple dimensions, such as namespace, application, and node pool, to identify applications that can be optimized. Currently, the cluster and namespace dimensions are supported.

Prerequisites

  • Cost Insights has been enabled.

Constraints

  • Processing bills takes some time. After Cost Insights is enabled, there is about two days delay before you can view your costs.
  • Cloud Native Cluster Monitoring must run normally to ensure accurate data displays of namespaces, workloads, and node pools on the Cost Insights page.

Navigation Path

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. In the navigation pane, choose Cloud Native Cost Governance > Cost Insights.
  3. On the displayed page, analyze costs.

    Figure 1 Cost Insights for a cluster

Clusters

The Clusters tab displays the cost overview on a cluster, including the cost overhead and resource consumption of namespaces, workloads, and node pools. This helps O&M personnel identify applications with high cost overhead and low resource utilization.

You can filter data by time in the upper right corner.

Figure 2 Cost overview of a cluster

Parameter

Description

Month-to-date costs

Month-over-month change

Month-to-date costs: costs generated by the cluster from the start of the current month to the date of the most recent bill. If Cost Insights is enabled in the current month, the cost is accumulated from the date when Cost Insights is enabled to the date of the most recent bill.

Month-over-month change: (Month-to-date costs – Last month same-period costs)/Last month same-period costs

Forecasted month-end costs

Month-over-month change

Forecasted month-end costs: estimated total costs by the end of the current month.

Month-over-month change: (Forecasted month-end costs – Last month total costs)/Last month total costs

CPU usage

Used CPU

Total CPU

CPU usage: average CPU usage of all nodes in the cluster at the current time.

Formula: CPU usage = Used CPU on all nodes/Total CPU on all nodes × 100%

Memory usage

Used memory

Total memory

Memory usage: average memory usage of all nodes in the cluster at the current time.

Formula: Memory usage = Used memory on all nodes/Total memory on all nodes × 100%

Cost Breakdown

Cost breakdown during the specified time period, including the ECS cost, EVS cost, and CCE cluster management cost.

Daily Costs

Daily cost breakdown, which can be used to identify resources with high costs in a cluster.

Figure 3 Multi-dimension cluster costs

Parameter

Description

Namespace

Total Namespace Cost indicates the total cost (CPU cost, memory cost, and EVS cost) of the workloads in each selected namespace. Total Resource Cost indicates the total cost of compute resources (all ECSs and EVS disks) used by a cluster.

Total resource cost = Total namespace cost + Unallocated cost

The larger the gray area is, the more resources are not used, causing resource wastes.

Top 5 Workloads

Top 5 workloads with high costs.

Top 5 Node Pools

Top 5 mode pools with high costs.

Figure 4 Cost & resource summary

Module

Parameter

Description

Namespace Cost & Resource Summary

Namespace

Namespace name.

Estimated Cost

Namespace cost: the cost calculated based on the percentage of total node resources (CPU and memory) that are used in the namespaces, plus the cost of storage used by the workloads in the namespaces.

Total Core-Hours

Total number of core-hours consumed by the workloads in a namespace during the specified time period.

Average CPU Utilization

Average CPU usage of the workloads in a namespace during the specified time period. CPU usage = Used CPU/CPU request x 100%

Average Used CPU

Average CPU used by the workloads in a namespace during the specified time period.

CPU Request

CPU request in a namespace on the last day of the specified time period. It is the total CPU request of the workloads in the namespace.

Average Memory Utilization

Average memory usage of the workloads in a namespace during the specified time period. Memory usage = Used memory/Memory request x 100%

Average Used Memory

Average memory used by the workloads in a namespace during the specified time period.

Memory Request

Memory request in a namespace on the last day of the specified time period. It is the total memory request of the workloads in the namespace.

Workload Cost & Top 5 Costs

Workload

Workload name.

Estimated Cost

Workload cost: the cost calculated based on the percentage of total node resources (CPU and memory) that are used by a workload, plus the cost of storage used by the workload.

Total Core-Hours

Total number of core-hours consumed by a workload during the specified time period.

Core-Hour Unit Price

Price per CPU core per hour.

If the core-hour unit price of a workload or namespace is high, you can change the node type to reduce costs and improve resource utilization.

Namespace

Namespace that a workload belongs to.

Average CPU Utilization

Average CPU usage of a workload during the specified time period.

CPU usage = Used CPU/CPU request x 100%

Average Used CPU

Average CPU used by a workload during the specified time period.

CPU Request

CPU request of a workload on the last day of the specified time period.

Average Memory Utilization

Average memory usage of a workload during the specified time period.

Memory usage = Used memory/Memory request × 100%

Average Used Memory

Average memory used by a workload during the specified time period.

Memory Request

Memory request of a workload on the date of the most recent bill during the specified time period.

Node Pool Cost & Resource Summary

Node Pool

Node pool name.

Cost

Cost of nodes in a node pool during the specified time period.

Average CPU Usage

Average CPU usage of a node pool during the specified time period.

CPU usage = Total CPU used by nodes in a node pool/Total CPU in a node pool × 100%

Average Used CPU

Average CPU used by a node pool during the specified time period.

Idle CPU | Requested CPU | Total CPU

Idle CPU: total idle CPUs of all nodes in a node pool on the last day of the specified time period.

Requested CPU: total CPUs requested by all nodes in a node pool on the last day of the specified time period.

Total CPU: total CPUs of all nodes in a node pool on the last day of the specified time period.

Average Memory Usage

Average memory usage of a node pool during the specified time period.

Memory usage = Total memory used by nodes in a node pool/Total memory in a node pool x 100%

Average Used Memory

Average memory used by a node pool during the specified time period.

Idle Memory | Requested Memory | Total Memory

Idle Memory: total idle memory of all nodes in a node pool on the last day of the specified time period.

Requested Memory: total memory requested by all nodes in a node pool on the last day of the specified time period.

Total Memory: total memory of all nodes in a node pool on the last day of the specified time period.

Namespaces

The Namespaces tab displays the cost optimization analysis on the selected namespace and workloads in that namespace, which allow you to identify workloads with high overhead and low utilization for coat optimization.

Figure 5 Cost overview by namespace

Parameter

Description

Month-to-date costs

Month-over-month change

Month-to-date costs: costs generated in selected namespaces from the start of the current month to the date of the most recent bill. If Cost Insights is enabled in the current month, the cost is accumulated from the date when Cost Insights is enabled to the date of the most recent bill.

Month-over-month change: (Month-to-date costs – Last month same-period costs)/Last month same-period costs

Forecasted month-end costs

Month-over-month change

Forecasted month-end costs: estimated total costs in the selected namespaces by the end of the current month.

Month-over-month change: (Forecasted month-end costs – Last month total costs)/Last month total costs

CPU utilization

Used CPU

CPU request

CPU utilization: average CPU usage in the selected namespaces at the current time.

Formula: CPU usage = Total used CPU in the selected namespaces/Total CPU requests in the selected namespaces × 100%

Memory utilization

Used memory

Memory request

Memory utilization: Average memory usage in the selected namespaces at the current time.

Formula: Memory usage = Total used memory in the selected namespaces/Total memory requests in the selected namespaces × 100%

Cost Breakdown

Cost breakdown of top 5 namespaces among the selected namespaces during the specified time period.

Daily Costs

Daily cost breakdown of the selected namespaces for identifying namespaces with high costs.

Figure 6 Namespace costs

Parameter

Description

Resource Costs

Costs of resources in the selected namespaces during the specified time period, which consist of the CPU cost, memory cost, and storage cost.

Core-Hour Unit Prices

Average unit prices of core-hours consumed by workloads on the nodes in the selected namespaces.

Top 5 Namespaces by Core-Hours

Total core-hours consumed by resources in top 5 namespaces among the selected namespaces during the specified time period.

CPU

Changes of CPU usages, requests, and limits in the selected namespaces.

Memory

Changes of memory usages, requests, and limits in the selected namespaces.

Resource Utilization

Changes of CPU usages and memory usages in the selected namespaces.

Figure 7 Workload cost details

Parameter

Description

Workload

Workload name.

Estimated Cost

The cost calculated based on the percentage of total node resources (CPU and memory) that are used by a workload, plus the cost of storage used by the workload.

Total Core-Hours

Total number of core-hours consumed by a workload during the specified time period, reflecting the CPU usage.

Core-Hour Unit Price

Price per CPU core per hour of the node where the workload is located, which can be used for node model optimization.

Namespace

Namespace that a workload belongs to.

Average CPU Utilization

Average CPU usage of a workload during the specified time period.

CPU usage = Used CPU/CPU request × 100%

Average Used CPU

Average CPU used by a workload during the specified time period.

CPU Request

CPU request of a workload on the last day of the specified time period.

Average Memory Utilization

Average memory usage of a workload during the specified time period.

Memory usage = Used memory/Memory request × 100%

Average Used Memory

Average memory used by a workload during the specified time period.

Memory Request

Memory request of a workload on the last day of the specified time period.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback