How to use Kubecost

                                                           

Log in to the main Kubecost server https://folio-kubecost.ci.folio.org/

How to switch to the needed cluster

Go to Switch Context:

In the new window choose the needed cluster:

Available clusters have a name (ex. folio-perf), unavailable URL only. Please use only available clusters.

Monitor Kubernetes resources

Monitor by team

 Click here to expand...

For monitoring Kubernetes resources go to the Allocation tab. Choose Aggregated by Team:

Monitor AWS resources 

For monitoring AWS resources go to the central Kubecost server  and go to the Assets tab:

By service:

 Click here to expand...

In Aggregated by choose Service. In the filter add Label/Tag: kubernetes_cluster=*

The result will be next:

By teams:

 Click here to expand...

In Aggregated by adding new parameter team:

In filters add Label/Tag team=* 

The result will be next:

By team and service:

 Click here to expand...

In Aggregated choose MULTI aggregation. Choose Service and team (add label if not exists).

In filters add Label/Tag team=* 

The result will be next:


Reports

In Reports tab in main cluster already created reports by Service, Team, Service and Team together:

You can use it like the template and change the Data range for your purposes.


Useful links for understanding Kubecost:

Video - Using Kubecost to monitor your Kubernetes and infrastructure spend

Video - EKS Cost Monitoring with Kubecost