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
- 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:
In the Harness application, click Dashboards.
Select By Harness and then, click Cluster Cost Dashboard.
The Cluster Cost Dashboard is displayed.
|Total Cost||The total cloud cost across clusters with cost trend.|
|Forecasted Cost||The 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 Resources||Top cost trend by resources. The cost trend is calculated based on the previous spending.|
|Cluster Cost Breakdown||The utilized, idle, and unallocated cost details. |
|Efficiency Score||A 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 Time||A measure of how cost-optimized your resource usage is across your clusters over time.|
|Historical Cost vs Forecast||The 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 Period||The cost of the current and previous time range.|
|Most Expensive Clusters||The 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 Namespaces||The cost of the most expensive Kubernetes namespaces in the cluster.|
|Most Expensive Workloads||The cost of the most expensive Kubernetes workloads in the cluster.|
|Most Expensive Nodes||The cost of the most expensive Kubernetes nodes in the cluster.|
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
Select Resource to filter the data based on pre-defined resource filters. The available filters are:
- Workload Name
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.
Hover over the chart to see the cost details.
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.
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
The dashboard displays the cost data based on the selection in the previous step.
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.
Click Back to go back to the previous page in the Dashboard.
Click Download to download the Dashboard.
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.
Click the Filter icon to hide or show the filters.
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.