Skip to content

Commit

Permalink
Merge pull request kubecost#542 from kubecost/niko/etl-tz
Browse files Browse the repository at this point in the history
Add UTC offset
  • Loading branch information
nikovacevic authored Jul 21, 2020
2 parents 6e39f09 + 1a7d4a8 commit a03bbc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ spec:
value: {{ (quote .Values.persistentVolume.enabled) | default (quote true) }}
- name: MAX_QUERY_CONCURRENCY
value: {{ (quote .Values.kubecostModel.maxQueryConcurrency) | default (quote 5) }}
- name: UTC_OFFSET
value: {{ (quote .Values.kubecostModel.utcOffset) | default (quote ) }}
{{- /*
If queryService is set, the cost-analyzer will always pass THANOS_ENABLED as true
to ensure that the custom query service target is used. The global.thanos.enabled
Expand Down
5 changes: 5 additions & 0 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ kubecostModel:
warmSavingsCache: true
etl: true
maxQueryConcurrency: 5
# utcOffset represents a timezone in hours and minutes east (+) or west (-)
# of UTC, itself, which is defined as +00:00.
# See the tz database of timezones to look up your local UTC offset:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
utcOffset: "+00:00"
resources:
requests:
cpu: "200m"
Expand Down

0 comments on commit a03bbc4

Please sign in to comment.