As the adoption of containerization and in particular the use of Kubernetes increases, addressing the challenges of providing cost visibility for the workloads running on these clusters becomes more important. In order to provide customers with the cost visibility and optimization recommendations that they require we have a supported integration with Kubecost to provide both cost visibility and savings recommendations.

Kubecost is a cost optimization tool that supports integration with various cloud providers and container orchestrators, including AWS, GCP, Azure, OpenShift, and others. This section describes the integration between Kubecost and Cloud Cost Optimization.

Important:The minimum supported version of Kubecost is 1.100.2.

Kubecost offers the following versions:

Enterprise version—This is a paid version and offers multi-cluster support and unlimited metric storage.
Freemium version—This is a free version and limits metric storage up to 15 days with a single cluster.

Based on the Kubecost edition you have, you must set up the integration as follows:

Enterprise version—Set up the integration for the primary Kubecost cluster and one Common Bill Ingestion (CBI) connect to receive data for all clusters.
Free version—Set up the integration and create a dedicated CBI bill connect for each cluster.

The following steps must be completed to connect your Kubecost billing data to Cloud Cost Optimization for cost reporting purposes:

Creating Kubecost CBI Bill Connect
Installing Kubecost Flexera Exporter Tool

For more information about CBI Mapping, Repositories, and Savings Recommendations, see Useful Information.