Skip to content

Commit

Permalink
update savedReports and advancedReports in values.yml to reflect curr…
Browse files Browse the repository at this point in the history
…ent filter schema
  • Loading branch information
saweber committed Oct 27, 2023
1 parent b656f8d commit 6f2f6c2
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,22 +149,20 @@ global:
idle: "separate"
rate: "cumulative"
accumulate: false # daily resolution
filters:
- property: "cluster"
value: "cluster-one,cluster*" # supports wildcard filtering and multiple comma separated values
- property: "namespace"
value: "kubecost"
filters: # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api
- key: "cluster" # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api#allocation-apis-request-sizing-v2-api
operator: ":" # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api#filter-operators
value: "dev"
- title: "Example Saved Report 1"
window: "month"
aggregateBy: "controllerKind"
chartDisplay: "category"
idle: "share"
rate: "monthly"
accumulate: false
filters:
- property: "label"
value: "app:cost*,environment:kube*"
- property: "namespace"
filters: # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api
- key: "namespace" # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api#allocation-apis-request-sizing-v2-api
operator: "!:" # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api#filter-operators
value: "kubecost"
- title: "Example Saved Report 2"
window: "2020-11-11T00:00:00Z,2020-12-09T23:59:59Z"
Expand Down Expand Up @@ -196,9 +194,10 @@ global:
- title: "Example Advanced Report 0"
window: "7d"
aggregateBy: "namespace"
filters:
- property: "cluster"
value: "cluster-one"
filters: # same as allocation api filters Ref: https://docs.kubecost.com/apis/apis-overview/filters-api
- key: "cluster" # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api#allocation-apis-request-sizing-v2-api
operator: ":" # Ref: https://docs.kubecost.com/apis/apis-overview/filters-api#filter-operators
value: "dev"
cloudBreakdown: "service"
cloudJoin: "label:kubernetes_namespace"

Expand Down

0 comments on commit 6f2f6c2

Please sign in to comment.