kubecost

by RADAR-Base

Helm chartv1.0.0App 2.6.3Apache-2.0Verified publisher

A Helm chart for Kubecost cost analyzer. This chart is an overlay for the official cost-analyzer chart with custom resource limits configured for RADAR-K8s environments.

About this chart

kubecost

A Helm chart for Kubecost cost analyzer. This chart is an overlay for the official cost-analyzer chart with custom resource limits configured for RADAR-K8s environments.

Homepage: https://www.kubecost.com

Maintainers

NameEmailUrl
Mani Thumu[email protected]https://www.kcl.ac.uk
Yatharth Ranjan[email protected]https://www.kcl.ac.uk/people/yatharth-ranjan

Source Code

Requirements

RepositoryNameVersion
https://kubecost.github.io/cost-analyzer/cost-analyzer2.6.3

Values

KeyTypeDefaultDescription
cost-analyzer.kubecostProductConfigs.clusters[0].namestring""
cost-analyzer.kubecostProductConfigs.clusters[0].addressstring"http://127.0.0.1:9090"
cost-analyzer.kubecostProductConfigs.athenaProjectIDstring""
cost-analyzer.kubecostProductConfigs.athenaBucketNamestring""
cost-analyzer.kubecostProductConfigs.athenaRegionstring""
cost-analyzer.kubecostProductConfigs.athenaDatabasestring""
cost-analyzer.kubecostProductConfigs.athenaTablestring""
cost-analyzer.kubecostProductConfigs.athenaWorkgroupstring"primary"
cost-analyzer.kubecostProductConfigs.awsSpotDataRegionstring""
cost-analyzer.kubecostProductConfigs.awsSpotDataBucketstring""
cost-analyzer.kubecostProductConfigs.spotLabelstring"eks.amazonaws.com/capacityType"
cost-analyzer.kubecostProductConfigs.spotLabelValuestring"SPOT"
cost-analyzer.kubecostProductConfigs.serviceKeySecretNamestring"cloud-service-key"
cost-analyzer.grafana.enabledboolfalse
cost-analyzer.grafana.resources.requests.cpustring"10m"
cost-analyzer.grafana.resources.requests.memorystring"164Mi"
cost-analyzer.grafana.resources.limits.cpustring"100m"
cost-analyzer.grafana.resources.limits.memorystring"256Mi"
cost-analyzer.prometheus.server.global.external_labels.cluster_idstring""
cost-analyzer.prometheus.server.resources.requests.cpustring"50m"
cost-analyzer.prometheus.server.resources.requests.memorystring"181Mi"
cost-analyzer.prometheus.server.resources.limits.cpustring"100m"
cost-analyzer.prometheus.server.resources.limits.memorystring"256Mi"
cost-analyzer.networkCosts.enabledbooltrue
cost-analyzer.networkCosts.config.services.amazon-web-servicesbooltrue
cost-analyzer.networkCosts.replicasint4
cost-analyzer.networkCosts.resources.requests.cpustring"50m"
cost-analyzer.networkCosts.resources.requests.memorystring"20Mi"
cost-analyzer.networkCosts.resources.limits.cpustring"100m"
cost-analyzer.networkCosts.resources.limits.memorystring"256Mi"
cost-analyzer.kubecostModel.resources.requests.cpustring"50m"
cost-analyzer.kubecostModel.resources.requests.memorystring"2500Mi"
cost-analyzer.kubecostModel.resources.limits.cpustring"200m"
cost-analyzer.kubecostModel.resources.limits.memorystring"3072Mi"
cost-analyzer.forecasting.enabledbooltrue
cost-analyzer.forecasting.resources.requests.cpustring"10m"
cost-analyzer.forecasting.resources.requests.memorystring"150Mi"
cost-analyzer.forecasting.resources.limits.cpustring"200m"
cost-analyzer.forecasting.resources.limits.memorystring"512Mi"

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy kubecost with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubecost on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubecost is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply