Skip to main content

View Cluster Cost Dashboard

Harness provides By Harness (pre-defined) and Custom (user-defined) Dashboards to visualize cloud cost data across cloud providers. Using the Cluster Cost Dashboard you can:

  • Discover new analytical insights into your Kubernetes cluster costs
  • Track various cloud cost indicators across different zones and time range
  • Explore the Kubernetes cloud cost data in a logical and structured manner
  • View your cloud costs at a glance, understand what is costing the most, and analyze cost trends
  • View the cost of each Kubernetes workload and namespace in your account

This topic describes how to view the By Harness Cluster Cost Dashboard and get more information about that data.

Before You Begin

Prerequisites

  • Ensure that you have Dashboard-All View permissions assigned. See Manage Access Control for CCM Dashboards.
  • Ensure that you have set up Cloud Cost Management (CCM) for the Kubernetes clusters.
  • Ensure that you have added all the required permissions for your cluster. The data available in the Dashboard depends on the permissions you provided to the Kubernetes clusters when setting up CCM.

Data Ingestion for Cluster Dashboard

Once you have set up cost visibility for the Kubernetes clusters and the data is available in the Perspective, you can view Cluster Cost Dashboard. The data in the Dashboard is updated dynamically.

View Cluster Cost Dashboard

Perform the following steps to view Cluster Cost Dashboard:

  1. In the Harness application, click Dashboards.

  2. Select By Harness and then, click Cluster Cost Dashboard.

    The Cluster Cost Dashboard is displayed.

DimensionsDescription
Total CostThe total cloud cost across clusters with cost trend.
Forecasted CostThe forecasted cluster cost with cost trend. Forecasted cost is the prediction based on your historical cost data and it is predicted for the same future time period as your selected time range.
Cost by Cluster Name (Top 50)The cost of top 50 Kubernetes clusters.
Top Cost Trend by ResourcesTop cost trend by resources. The cost trend is calculated based on the previous spending.
Cluster Cost BreakdownThe utilized, idle, and unallocated cost details.
  • Utilized cost is the cost estimate for the utilized node or pod resources.
  • Idle cost is the cost of idle resources (CPU and memory) allocated to a Kubernetes pod.
  • Unallocated cost is the cost of unallocated node resources in a Kubernetes cluster.
Efficiency ScoreA measure of how cost-optimized your resource usage is across your clusters. It is derived from the total and idle (and or unallocated) spend of your resources.
Cluster Efficiency Score Over TimeA measure of how cost-optimized your resource usage is across your clusters over time.
Historical Cost vs ForecastThe historical and forecasted cluster cost. Forecasted cost is the prediction based on your historical cost data and it is predicted for the same future time period as your selected time range.
Current Period vs Last PeriodThe cost of the current and previous time range.
Most Expensive ClustersThe cost of the most expensive Kubernetes clusters. A cluster refers to a collection of nodes that run workloads as containers in any cloud provider.
Most Expensive NamespacesThe cost of the most expensive Kubernetes namespaces in the cluster. 
Most Expensive WorkloadsThe cost of the most expensive Kubernetes workloads in the cluster.
Most Expensive NodesThe cost of the most expensive Kubernetes nodes in the cluster.
  1. Select Time Range to filter the data based on pre-defined time range filters. The available filters are:

    • Last 7 Days
    • Last 30 Days
    • Last 90 Days
    • Last 12 months
    • last 24 months
  2. Select Resource to filter the data based on pre-defined resource filters. The available filters are:

    • Cluster
    • Namespace
    • Workload Name
  3. Once you have selected the Time Range and Resource filter, click Reload. The data is refreshed with the latest data from the database. By default, the Last 30 Days and Cluster are selected.

  4. Hover over the chart to see the cost details.

  5. In Cost by Cluster Name (Top 50), click the up or down arrow button to scroll up or down the list. The list shows the percentage of each account with respect to the cost contribution.

  6. In Cost by Cluster Name (Top 50), click on the chart to further drill into the cost details of Product, Region, or SKU. You can drill down by:

    • by Namespace
    • by Workload Name

  7. The dashboard displays the cost data based on the selection in the previous step.

  8. You can further drill down and view the cloud cost of a specific Namespace. For example, drill into harness-nextgen and view the cost by Workload Name.

    The details in the Dashboard are displayed. You can also view the details of the filters applied.

  9. Click Back to go back to the previous page in the Dashboard.

  10. Click Download to download the Dashboard.

  11. You can also drill into Cluster Efficiency Score Over Time, Most Expensive Clusters, Most Expensive Workloads, and Most Expensive Namespaces and view details in the Dashboard.

  12. Click the Filter icon to hide or show the filters.

See Also

Once you have set up cost visibility for your Kubernetes clusters, AWS, GCP, and Azure cloud providers, you can create your own Dashboards. Refer to the following topics to create your own Dashboard and chart data.

Next Steps