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

Commit f5104b4

Browse files
authored
Merge pull request #210 from grafana/honor-ingester-replicas-for-blocks-storage
Removed support for ingester.statefulset_replicas
2 parents e2333a6 + 8493aa8 commit f5104b4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
## master / unreleased
44

55
* [CHANGE] Add the default preset 'extra_small_user' and reference it in the CLI flags. This will raise the limits of the 'small_user' preset to the defaults for `ingester.max-samples-per-query` and `ingester.max-series-per-query`. #200
6+
* [CHANGE] Removed the config option `$._config.ingester.statefulset_replicas` which was used only when running Cortex chunks storage with WAL enabled. To configure the number of ingester replicas you should now use the following: #210
7+
```
8+
ingester_statefulset+:
9+
statefulSet.mixin.spec.withReplicas(6),
10+
```
611
* [ENHANCEMENT] Add the Ruler to the read resources dashboard #205
712
* [ENHANCEMENT] Read dashboards now use `cortex_querier_request_duration_seconds` metrics to allow for accurate dashboards when deploying Cortex as a single-binary. #199
813
* [ENHANCEMENT] Improved Ruler dashboard. Includes information about notifications, reads/writes, and per user per rule group evaluation. #197, #205

cortex/config.libsonnet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
ingester: {
7676
// These config options are only for the chunks storage.
7777
wal_dir: '/wal_data',
78-
statefulset_replicas: 3,
7978
statefulset_disk: '150Gi',
8079
},
8180

cortex/ingester.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
ingester_statefulset:
9393
if $._config.ingester_deployment_without_wal == false then
94-
statefulSet.new('ingester', $._config.ingester.statefulset_replicas, [$.ingester_statefulset_container], ingester_pvc) +
94+
statefulSet.new('ingester', 3, [$.ingester_statefulset_container], ingester_pvc) +
9595
statefulSet.mixin.spec.withServiceName('ingester') +
9696
statefulSet.mixin.spec.template.spec.withVolumes([volume.fromPersistentVolumeClaim('ingester-pvc', 'ingester-pvc')]) +
9797
statefulSet.mixin.metadata.withNamespace($._config.namespace) +

0 commit comments

Comments
 (0)