Pricing Sources Matrix

Overview

There are multiple ways that Kubecost can be configured to pull in pricing data. This document outlines the different options and how to configure them.

Pricing sources matrix

With the exception of integrated cloud service provider (CSP) billing, all pricing sources are configured per-cluster.

Kubecost supports the following pricing sources:

Diagram

Cloud provider on-demand API

Kubecost will attempt to identify the provider of the cluster and pull pricing data from their public pricing APIs. Alibaba and Azure have their own specific pricing sources.

On-demand pricing references

The below files/resources are the onDemand prices used by Kubecost:

Cloud provider billing integration

See the following Kubecost documentation for assistance with configuring your cloud provider services:

Reconciliation

After Kubecost has ingested the initial billing data from your CSP, it will take approximately 36-48 hours to determine whether costs are accurately accounted as on-demand, and will account for any differences between standard retail pricing and actual spend. You can learn more about how reconciliation works in Kubecost's Cloud Billing Integrations doc.

Short-term cost estimation

After Kubecost has performed reconciliation, it can further deduct accurate node pricing through short-term cost estimation, in which Kubecost uses historical spend data to determine daily and hourly node costs. Learn more in Kubecost's Cloud Billing Integrations doc.

Custom pricing

For users with air-gapped environments, custom pricing values can be configured for CPU, GPU, and RAM, with spot pricing distinctions. Set the following Helm values via your values-kubecost.yaml, or in the Kubecost UI by going to Settings, then under 'Pricing', toggling on 'Enable Custom Pricing', then making adjustments per group:

Prices are monthly. storage and miscellaneous network metrics are all per GB.

kubecostProductConfigs:
  customPricesEnabled: true
  defaultModelPricing:
    enabled: true
    CPU: 28.0 # Single core per month cost
    spotCPU: 4.86 # Single core per month cost
    RAM: 3.09 # GB per month cost
    spotRAM: 0.65 # GB per month cost
    GPU: 693.50 # per month cost
    spotGPU: 225.0 # per month cost
    storage: 0.04 # per GB per month cost
    zoneNetworkEgress: 0.01 # per GB per month cost
    regionNetworkEgress: 0.01 # per GB per month cost
    internetNetworkEgress: 0.12 # per GB per month cost

For advanced customization of individual resources, see CSV pricing.

Last updated