Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 61a05e6

Browse files
authored
Merge pull request #322 from grafana/increase-store-gateway-mem
Increase default store-gateway memory request and limit
2 parents c2b49ea + dedcf7f commit 61a05e6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* [CHANGE] `namespace` template variable in dashboards now only selects namespaces for selected clusters. #311
66
* [CHANGE] Alertmanager: mounted overrides configmap to alertmanager too. #315
77
* [CHANGE] Memcached: upgraded memcached from `1.5.17` to `1.6.9`. #316
8+
* [CHANGE] Store-gateway: increased memory request and limit respectively from 6GB / 6GB to 12GB / 18GB. #322
9+
* [CHANGE] Store-gateway: increased `-blocks-storage.bucket-store.max-chunk-pool-bytes` from 2GB (default) to 12GB. #322
810
* [ENHANCEMENT] cortex-mixin: Make `cluster_namespace_deployment:kube_pod_container_resource_requests_{cpu_cores,memory_bytes}:sum` backwards compatible with `kube-state-metrics` v2.0.0. #317
911
* [BUGFIX] Fixed `CortexIngesterHasNotShippedBlocks` alert false positive in case an ingester instance had ingested samples in the past, then no traffic was received for a long period and then it started receiving samples again. #308
1012

cortex/tsdb.libsonnet

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@
216216
// Block index-headers are pre-downloaded but lazy mmaped and loaded at query time.
217217
'blocks-storage.bucket-store.index-header-lazy-loading-enabled': 'true',
218218
'blocks-storage.bucket-store.index-header-lazy-loading-idle-timeout': '60m',
219+
220+
'blocks-storage.bucket-store.max-chunk-pool-bytes': 12 * 1024 * 1024 * 1024,
219221
} +
220222
$.blocks_chunks_caching_config +
221223
$.blocks_metadata_caching_config +
@@ -228,8 +230,8 @@
228230
container.withPorts($.store_gateway_ports) +
229231
container.withArgsMixin($.util.mapToFlags($.store_gateway_args)) +
230232
container.withVolumeMountsMixin([volumeMount.new('store-gateway-data', '/data')]) +
231-
$.util.resourcesRequests('1', '6Gi') +
232-
$.util.resourcesLimits(null, '6Gi') +
233+
$.util.resourcesRequests('1', '12Gi') +
234+
$.util.resourcesLimits(null, '18Gi') +
233235
$.util.readinessProbe +
234236
$.jaeger_mixin,
235237

0 commit comments

Comments
 (0)