Skip to content

Commit

Permalink
[stable/kubecost-reports-exporter] Update default parameters (#501)
Browse files Browse the repository at this point in the history
updated parameter in allocationCostUrl
  • Loading branch information
seeeun-cho committed Aug 8, 2023
1 parent 6428cc6 commit 919aafb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/kubecost-reports-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: |
if you are using old installation please use v1 chart
home: https://www.kubecost.com
type: application
version: 2.0.1
version: 2.0.2
appVersion: "2.0.0"
maintainers:
- name: nyambati
Expand Down
7 changes: 4 additions & 3 deletions stable/kubecost-reports-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kubecost-reports-exporter

![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)
![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

Helm chart for exporting kubernetes cost reports to AWS s3 bucket.
N/B We have updated chart to use V2 scripts using allocations and assets api.
Expand Down Expand Up @@ -53,9 +53,10 @@ helm install my-release deliveryhero/kubecost-reports-exporter -f values.yaml
| env | object | `{}` | Extra environment variables |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"thomasnyambati/kubecost-reports-exporter"` | |
| image.repository | string | `"thomasnyambati/kubecost-reports-exporter"` | The container image to use |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| kubecost.allocationCostUrl | string | `"/model/allocation?window=15m&aggregate=pod"` | Url for allocation api cost reports |
| kubecost.allocationCostUrl | string | `"/model/allocation?window=15m&aggregate=pod&includeAggregatedMetadata=true"` | Url for allocation api cost reports |
| kubecost.assetsCostUrl | string | `"/model/assets?window=15m&filterCategories=Compute&filterTypes=Node&filterServices=Kubernetes"` | Url for assets api cost reports |
| kubecost.bucketName | string | `"kubecost-reports-exporter"` | S3 Bucket name for reports export |
| kubecost.clusters[0].endpoint | string | `"http://kubecost-cost-analyzer:9090"` | |
Expand Down
5 changes: 4 additions & 1 deletion stable/kubecost-reports-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ successfulJobsHistoryLimit: 1
concurrencyPolicy: Forbid

image:
# image.repository -- The container image to use
repository: thomasnyambati/kubecost-reports-exporter
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""

imagePullSecrets: []
nameOverride: ""
Expand All @@ -32,7 +35,7 @@ kubecost:
# kubecost.bucketName -- S3 Bucket name for reports export
bucketName: kubecost-reports-exporter
# kubecost.allocationCostUrl -- Url for allocation api cost reports
allocationCostUrl: "/model/allocation?window=15m&aggregate=pod"
allocationCostUrl: "/model/allocation?window=15m&aggregate=pod&includeAggregatedMetadata=true"
# kubecost.assetsCostUrl -- Url for assets api cost reports
assetsCostUrl: "/model/assets?window=15m&filterCategories=Compute&filterTypes=Node&filterServices=Kubernetes"
# kubecost.diagnosticsUrl -- Url for prometheus diagnostics
Expand Down

0 comments on commit 919aafb

Please sign in to comment.