Skip to main content
Skip table of contents

Kubernetes cost

DigitalEx provides visibility into in-cluster costs for Kubernetes clusters, allowing you to see costs by Container, Service, Namespace, and Label. This feature helps teams easily understand the utilization of shared clusters and accurately account for cluster costs across teams and applications.

Total K8s Costs

The total costs widget allows you to view the total costs associated with your providers. When you onboard a cluster, the cost data for that account will be displayed starting from the month in which the account was onboarded.

The percentage increase and decrease values shown in the widget are based on the previous month's data. This means that the widget will not show percentage increase or decrease values for the first month in which data is available nor for the current month.

Top Clusters

The top clusters widget allows you to view the top clusters in terms of your costs. The widget displays a donut chart, with each slice of the donut representing one of the top clusters. The size of the slice corresponds to the cost of that account.

You can mouse over the donut chart to view the cost of a particular cluster. You can also click on a slice of the donut to view the data for that cluster in more detail. When a user clicks on a slice, the widget will display a cost chart and a list of cost items for that cluster, allowing you to see how the account's costs are distributed across different categories.

The top clusters widget is useful to identify the clusters that are contributing the most to an organization's overall costs. It can help you to better understand your spending and identify opportunities for cost savings.

Top Namespaces

The Top namespaces widget displays a list of the top-costing services, along with the percentage increase or decrease in cost from the previous month. You can click on a specific service in the table to view the associated cost data. When you click on a namespaces , the cost chart and cost items will display data accordingly.

This widget can help you identify the namespaces that are contributing the most to your overall namespaces costs, and can allow you to understand the changes in cost from one month to the next. By examining the cost data for these top-costing namespaces , you can identify opportunities to optimize your namespaces usage and reduce costs.

Top Locations

The Top Locations widget displays a pie chart showing the top-costing locations for your services. You can hover your mouse over the pie chart to view the cost of each particular region.

You can also click on a specific region in the pie chart to view the data for that location. When you click on a region, the cost chart and cost items will display data accordingly. This can help you understand the geographical distribution of your service costs and identify any trends or patterns.

By examining the data for the top-costing locations, you can identify opportunities to optimize your service usage and reduce costs in specific regions.

image-20240618-054652.png

Widget Builder

The top clusters, top namespaces, and top locations widgets can be customized to suit your specific needs. To customize these widgets, you can click on the three dots next to the widget name and select the "Edit" option. This will allow you to adjust the data displayed in the widget based on your preferences.

If you want to restore the customization to the default settings, you can click on the "Restore" button. This will reset the widget to its original configuration.

In addition to the top-costing items displayed by default, you can also view the top 100 clusters, namespaces, and locations by clicking on the "View more" option. This can provide you with more detailed information about the top-costing items and help you identify opportunities to optimize your service usage and reduce costs.

image-20240618-054713.png

K8s Cost Chart

The cost chart is a graphical representation of your cluster costs over time. It shows the costs for different months and allows you to see how your costs have changed over time. You can hover your mouse over the chart to view the cost for a specific month.

The cost chart includes clickable bar graphs, which you can click on to view the cost items for that specific month. This can help you understand the specific items that contributed to the overall cost for that month.

In addition to these features, you can also expand or restore the view of the cost chart by clicking on a square icon, and you can download the cost chart by clicking on the download icon. You can also view the chart in full-row mode

image-20240618-054836.png

 The cost chart can be filtered using various options to help you focus on the data that is most relevant to you. You can view data in either monthly intervals or daily intervals, depending on your needs. If you select daily intervals, you will only be able to view data for the past 30 days.

You can also change the X-axis of the cost chart to focus on different aspects of your service costs. This can help you understand how different factors, such as location, namespace and clusters, are impacting your overall costs.

In addition to these options, the cost chart also includes different chart types that you can use to view your cost data in different formats. You can select the option to view all the data in the cost chart, or you can choose to view specific data points to focus on specific aspects of your costs. By using these filters and chart types, you can more effectively analyze and understand your service costs.

image-20240618-055155.png

Geo Chart

The Geo chart is a graphical representation of your service costs by region. It displays data points for the selected month and allows you to see how your costs are distributed geographically. You can hover your mouse over the data points to view the region name and the cost of that region.

The Geo chart also includes clickable data points, which you can click on to view the associated cost data in the cost items table. This can help you understand the specific items that contributed to the cost for that region. When you click on a data point, the cost chart and cost items will display data accordingly.

The maroon color in the Geo chart indicates regions where you have incurred higher costs. If there are two data points that overlap, a small magnifier icon will be displayed.

You can change the location and month from the drop-down menus to view data from different regions and months. This can allow you to understand how your service costs have changed over time and identify trends or patterns. You can also see the cumulative cost for the Global & Unknown locations in the below the geo chart

image-20240618-055355.png

  

The cost table showcases cluster costs Additionally, you can click on specific table data to access related cost items.

image-20240618-055428.png

K8s Cost Items

The k8s cost items feature displays the top detailed costs for the month you clicked. This can provide you with a comprehensive view of your costs and help you identify opportunities to optimize your service usage and reduce costs.

The cost items table includes a variety of information about each item, including the cluster, location, namespace ID, usage type, and usage cost. You can sort, search, and download the cost items to better understand your costs and identify areas for optimization.

By examining the data in the cost items table, you can identify the top-costing items and take action to optimize your service usage and reduce costs. You can also use the data in the cost items table to understand trends and patterns in your service costs over time.

image-20240618-055556.png

When you click on widgets, cost chart, or geo points, the cost items table will display the associated cost data for the selected item. For example, if you click on a data point in the geo chart or top locations widget, the cost items table will display the cost data for that specific region.

The cost items table includes a variety of features that can help you understand and analyze your service costs. You can sort the data in the table to view it in different orders, search for specific items using keywords, and download the data to share it with others or analyze it further.

You can also customize the view of the cost items table by clicking on the Settings icon. This allows you to choose which data points to display and how they are organized. By using these features, you can more effectively analyze and understand your service costs and identify opportunities for optimization.

image-20240327-155755.png

Use the close button to exit the service item list and return to the table view.

When you select the number of rows, you will be able to view that same quantity of rows on the page.

image-20240403-121938.png

Header Icons

Share

Click on the Share icon, copy the link of the current page, and filter if anywhere you can share it with other team members.

Screenshot

Clicking on the Camera icon, take a Screenshot of the current page, and download it in a pdf file.

Cost Filter

Basic

You can filter the complete page using filter option. For Example, if you want to view the cost by cluster, location, node ,labels etc. select the any one filter or if you want to view the cost of a particular cluster, node, namespace etc

On selecting Dynamic Filter adjusts options based on previous selections. For example, choosing a Cluster will update subsequent filters (e.g., Cluster, Namespace) to show only relevant data for that provider. This ensures efficient and context-sensitive filtering.

image-20240816-145035.png

Advance

The "Advanced K8s Cost Filters" feature use to apply detailed filters to refine search results. You can add multiple filters by selecting criteria like "Cluster, Namespace" choosing an operator (e.g., "IN"), and selecting values from dropdown menus. The interface includes options to apply or cancel changes and a "Clear All" button to reset filters.

image-20240816-145100.png

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.