Skip to content

Commit 6080bc4

Browse files
Merge pull request grafana/cortex-jsonnet#167 from grafana/tsdb-store-gateway-overrides
add overrides config to tsdb store-gateway
2 parents 5150802 + 875012d commit 6080bc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

operations/mimir/tsdb.libsonnet

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
$._config.blocksStorageConfig +
173173
{
174174
target: 'store-gateway',
175+
'limits.per-user-override-config': '/etc/cortex/overrides.yaml',
175176

176177
// Persist ring tokens so that when the store-gateway will be restarted
177178
// it will pick the same tokens
@@ -204,7 +205,8 @@
204205
// one by one. This does NOT affect rolling updates: they will continue to be
205206
// rolled out one by one (the next pod will be rolled out once the previous is
206207
// ready).
207-
statefulSet.mixin.spec.withPodManagementPolicy('Parallel'),
208+
statefulSet.mixin.spec.withPodManagementPolicy('Parallel') +
209+
$.util.configVolumeMount('overrides', '/etc/cortex'),
208210

209211
store_gateway_service:
210212
$.util.serviceFor($.store_gateway_statefulset),

0 commit comments

Comments
 (0)