Skip to content

Commit

Permalink
fix: add missing node affinity matcher to write component (#8910)
Browse files Browse the repository at this point in the history
* fix: add node affinity matcher to write component

* docs: changelog

* docs: add pr number to changelog
  • Loading branch information
kimxogus authored Aug 6, 2024
1 parent 315976a commit 3ac58fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
* [ENHANCEMENT] Do not deploy ingester-zone-c when experimental ingest storage is enabled and `ingest_storage_ingester_zones` is configured to `2`. #8776
* [ENHANCEMENT] Added the config option `ingest_storage_migration_classic_ingesters_no_scale_down_delay` to disable the downscale delay on classic ingesters when migrating to experimental ingest storage. #8775 #8873
* [ENHANCEMENT] Configure experimental ingest storage on query-frontend too when enabled. #8843
* [BUGFIX] Added missing node affinity matchers to write component. #8910

### Mimirtool

Expand Down
1 change: 1 addition & 0 deletions operations/mimir/read-write-deployment/write.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
local replicas = std.ceil($._config.mimir_write_replicas / 3);

$.newMimirStatefulSet(name, replicas, container, mimir_write_data_pvc) +
$.newMimirNodeAffinityMatchers(nodeAffinityMatchers) +
statefulSet.mixin.metadata.withLabels({ 'rollout-group': 'mimir-write' }) +
statefulSet.mixin.metadata.withAnnotations({ 'rollout-max-unavailable': std.toString($._config.mimir_write_max_unavailable) }) +
statefulSet.mixin.spec.template.metadata.withLabels({ name: name, 'rollout-group': 'mimir-write' }) +
Expand Down

0 comments on commit 3ac58fd

Please sign in to comment.