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
| Name | Url | |
|---|---|---|
| Mani Thumu | [email protected] | https://www.kcl.ac.uk |
| Yatharth Ranjan | [email protected] | https://www.kcl.ac.uk/people/yatharth-ranjan |
Source Code
- https://github.com/RADAR-base/radar-helm-charts/tree/main/external/kubecost
- https://github.com/kubecost/cost-analyzer-helm-chart
Requirements
| Repository | Name | Version |
|---|---|---|
| https://kubecost.github.io/cost-analyzer/ | cost-analyzer | 2.6.3 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| cost-analyzer.kubecostProductConfigs.clusters[0].name | string | "" | |
| cost-analyzer.kubecostProductConfigs.clusters[0].address | string | "http://127.0.0.1:9090" | |
| cost-analyzer.kubecostProductConfigs.athenaProjectID | string | "" | |
| cost-analyzer.kubecostProductConfigs.athenaBucketName | string | "" | |
| cost-analyzer.kubecostProductConfigs.athenaRegion | string | "" | |
| cost-analyzer.kubecostProductConfigs.athenaDatabase | string | "" | |
| cost-analyzer.kubecostProductConfigs.athenaTable | string | "" | |
| cost-analyzer.kubecostProductConfigs.athenaWorkgroup | string | "primary" | |
| cost-analyzer.kubecostProductConfigs.awsSpotDataRegion | string | "" | |
| cost-analyzer.kubecostProductConfigs.awsSpotDataBucket | string | "" | |
| cost-analyzer.kubecostProductConfigs.spotLabel | string | "eks.amazonaws.com/capacityType" | |
| cost-analyzer.kubecostProductConfigs.spotLabelValue | string | "SPOT" | |
| cost-analyzer.kubecostProductConfigs.serviceKeySecretName | string | "cloud-service-key" | |
| cost-analyzer.grafana.enabled | bool | false | |
| cost-analyzer.grafana.resources.requests.cpu | string | "10m" | |
| cost-analyzer.grafana.resources.requests.memory | string | "164Mi" | |
| cost-analyzer.grafana.resources.limits.cpu | string | "100m" | |
| cost-analyzer.grafana.resources.limits.memory | string | "256Mi" | |
| cost-analyzer.prometheus.server.global.external_labels.cluster_id | string | "" | |
| cost-analyzer.prometheus.server.resources.requests.cpu | string | "50m" | |
| cost-analyzer.prometheus.server.resources.requests.memory | string | "181Mi" | |
| cost-analyzer.prometheus.server.resources.limits.cpu | string | "100m" | |
| cost-analyzer.prometheus.server.resources.limits.memory | string | "256Mi" | |
| cost-analyzer.networkCosts.enabled | bool | true | |
| cost-analyzer.networkCosts.config.services.amazon-web-services | bool | true | |
| cost-analyzer.networkCosts.replicas | int | 4 | |
| cost-analyzer.networkCosts.resources.requests.cpu | string | "50m" | |
| cost-analyzer.networkCosts.resources.requests.memory | string | "20Mi" | |
| cost-analyzer.networkCosts.resources.limits.cpu | string | "100m" | |
| cost-analyzer.networkCosts.resources.limits.memory | string | "256Mi" | |
| cost-analyzer.kubecostModel.resources.requests.cpu | string | "50m" | |
| cost-analyzer.kubecostModel.resources.requests.memory | string | "2500Mi" | |
| cost-analyzer.kubecostModel.resources.limits.cpu | string | "200m" | |
| cost-analyzer.kubecostModel.resources.limits.memory | string | "3072Mi" | |
| cost-analyzer.forecasting.enabled | bool | true | |
| cost-analyzer.forecasting.resources.requests.cpu | string | "10m" | |
| cost-analyzer.forecasting.resources.requests.memory | string | "150Mi" | |
| cost-analyzer.forecasting.resources.limits.cpu | string | "200m" | |
| cost-analyzer.forecasting.resources.limits.memory | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkubecost is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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