Cost Overview - Introduction¶
Cost Overview dashboards provide visibility and insights into various metrics generated at cluster/project level. They provide a bird’s eye view of costs and efficiencies for Projects, Clusters and Namespaces. Access is controlled by assigned role. Longer-term retention of historical cost information makes it possible to anticipate future expenses.
Getting to the Dashboards - Cost Overview¶
The Cost Overview dashboard card shows resource cost summary and a trend graph, which is helpful to view service provider vs utilization costs
- Login to the controller and click on dashboards
- Select Cost Management and click Overview
Use the appropriate tabs to view the cost metrics
- All tab shows a central view of the cost metrics across all projects and clusters
- Project tab shows the cost metrics at a project level
- Cluster tab shows the cost metrics at a cluster level
Use the Date filter to view the metrics on different durations (24 hours, 7 days and 14 days). By default, 24 hours data are presented.
- Use the Clear icon to refresh and get back to the default (24 hours) page
Mouse hover on the tooltip (i) of each cost widget to know more about the metrics.
Total cost = Allocated cost + Unallocated cost
Utilized cost = cost of utilized resources
Idle cost = cost of resources that were allocated based on resource requests but not utilized, Idle cost = Allocated cost - Utilized cost
Unallocated cost = cost of resources that are not allocated
Efficiency: Resource Requests = Utilized cost/Allocated cost, a low efficiency score translates to one or more applications potentially requesting for significantly more resources than what they are actually utilizing
Efficiency: Utilization = Allocated cost/Total cost, a low efficiency translates to the cluster being potentially over-provisioned
Cost Trend Legend¶
Cost Trend has a graphical representation to show the trend of cost for different providers. A legend is presented at the bottom of the graph with different colors to identify the total, utilized, idle, and unallocated costs. Select the provider (AWS, AZURE, and ONPREM) available in the right corner to view the cost metrics of a specific provider type. Mouse hover on the graph to know the detailed cost metrics for each hour
- Top Clusters: Shows the top 5 clusters that consume the highest cost
- Top Namespaces: Shows the top 5 Namespaces that consume the highest cost
- Top Applications: Shows the top 5 Namespaces that consume the highest cost
Click the ellipsis icon against each widget to view all the available clusters, namespaces, and applications along with the cost
Project Level Cost Metrics
Select the Project tab to view the cost of metrics at project level. Select the required project from the drop-down and here you can view the cost details of all the clusters available within the selected project
The Unallocated Cost widget will be empty if the selected project is not the parent project for any clusters.
Cluster Level Cost Metrics
Select the Clusters tab to view the cost of metrics at cluster level. Select the required project from the drop-down and here you can view the cost details of all the clusters available within the selected project
The Unallocated Cost widget will be empty when you select a project and a shared cluster.
Cost Explorer - Introduction¶
Cost Explorer is designed to assist with resource management and cost optimization by effectively tracking historical data. This facilitates the assessment of resource utilization efficiency, encompassing both 'Resource Requests' and actual 'Utilization.' Additionally, Cost Explorer provides essential drill-down capabilities, enabling in-depth analysis at the project, cluster, namespace, and chargeback group levels.
By leveraging these insights, organizations can make well-informed decisions, identify potential areas for improvement, and optimize resource allocation to achieve maximum efficiency and cost-effectiveness. Cost Explorer empowers businesses to proactively manage expenses and enhance overall cost optimization efforts.
Getting to the Dashboards - Cost Overview¶
With Cost Explorer, you gain the ability to monitor spending patterns not only at a global level but also with a granular focus on specific aspects
Login to the controller and click on dashboards
Select Cost Management and click Explorer. By default, Cost Explorer displays all project, cluster, and namespace cost metrics
- To view the cost utilization report for a particular project, cluster, namespace, and labels, simply select the relevant options from the drop-down menu. For instance, in the image below, you can observe the cost utilization of the namespace named calico-system in the cluster cost-exp under the project may4. The report provides both graphical representation and a table view based on these selected criteria
- Users have the option to choose a date range, allowing them to view reports for specific durations. Once the selection is made, both the graphical view and the table will display the cost utilization data accordingly
Opt for your desired dimension from the drop-down menu, and the graphical view and table will dynamically adjust to present the corresponding cost utilization data.
As an example, the screen below showcases the cost utilization of all namespaces within the cluster named cost-exp-may4. This selection combines both the chosen dimensions and the filters from the first level, encompassing project, cluster, namespace, and labels.
Select the desired duration from a range of options, including hourly, daily, weekly, and monthly. Once a selection is made, the report retrieves and displays the data corresponding to the chosen duration.
Hover over the graphical bars to view the information of the available namespaces within this cluster. The data displayed includes the total cost and utilization cost of each namespace for the selected duration.
In the table view, you can access a comprehensive list of namespaces, along with corresponding details such as CPU, Memory, Total Cost for each namespace, and its efficiency score (representing the utilization percentage of that specific namespace).
To export the report, including your selected filters and options, simply click on the Export button. This action will generate the report in CSV format, allowing you to further analyze and work with the data as needed.