Skip to content

Commit

Permalink
store: Add lazy index header flags (#708)
Browse files Browse the repository at this point in the history
Signed-off-by: Saswata Mukherjee <[email protected]>
  • Loading branch information
saswatamcode authored Nov 22, 2024
1 parent f5a1919 commit 5a1d7fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/observatorium-metrics-template-overwrites.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ local thanosRuleSyncer = import './sidecars/thanos-rule-syncer.libsonnet';
'--store.grpc.series-sample-limit=${THANOS_STORE_SERIES_SAMPLE_LIMIT}',
'--max-time=${THANOS_STORE_MAX_TIME}',
'--store.enable-index-header-lazy-reader',
'--store.index-header-lazy-download-strategy=${THANOS_STORE_INDEX_HEADER_LAZY_DOWNLOAD_STRATEGY}',
'--store.index-header-lazy-reader-idle-timeout=${THANOS_STORE_INDEX_HEADER_LAZY_READER_IDLE_TIMEOUT}',
],
} else c
for c in super.containers
Expand Down
2 changes: 2 additions & 0 deletions services/observatorium-metrics-template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ local obs = import 'observatorium.libsonnet';
{ name: 'THANOS_STORE_MEMORY_REQUEST', value: '1Gi' },
{ name: 'THANOS_STORE_REPLICAS', value: '5' },
{ name: 'THANOS_STORE_MAX_TIME', value: '9999-12-31T23:59:59Z' },
{ name: 'THANOS_STORE_INDEX_HEADER_LAZY_DOWNLOAD_STRATEGY', value: 'eager' },
{ name: 'THANOS_STORE_INDEX_HEADER_LAZY_READER_IDLE_TIMEOUT', value: '3m' },
{ name: 'CONFIGMAP_RELOADER_IMAGE', value: 'quay.io/openshift/origin-configmap-reloader' },
{ name: 'CONFIGMAP_RELOADER_IMAGE_TAG', value: '4.5.0' },
],
Expand Down

0 comments on commit 5a1d7fb

Please sign in to comment.