Comments (4)
Adding
ingester:
extraArgs:
ingester.ring.tokens-file-path: ""
ingester.ring.token-generation-strategy: spread-minimizing
ingester.ring.spread-minimizing-zones: 1a,1b,1c
ingester.ring.spread-minimizing-join-ring-in-order: true
Has done the trick for us!
from mimir.
reply from @davidkohr:
My guess is that the issue is when you enable zone awareness for ingesters, it does this by injecting this runtime config to each ingester:
# ingesters in zone-a:
- args:
- '-ingester.ring.instance-availability-zone=zone-a'
# ingesters in zone-b:
- args:
- '-ingester.ring.instance-availability-zone=zone-b'
Because this is being dynamically handled by the chart, you aren't the one configuring this in structuredConfig
. Because of this, all of your Mimir components, at least upon init, think that the value of ingester.ring.instance-availability-zone
is empty, hence the error message zone is not valid
(notice the 2 spaces after zone
).
Again, this is my guess, and I would love someone to verify this.
To get around this, we had to use Kustomize to inject runtime configs to each zone to enable spread-min token generation. This feels very hacky, so I'm looking forward to this being fixed in the chart, unless there's already a better way.
from mimir.
this looks reasonable @davidkohr. This looks more like a bug in the distributor code than a bug in the helm chart. The distributor shouldn't try to validate the ingester config.
A workaround would be to set the four config options to enable spread-minimizing tokens as CLI flags to the ingester statefulset: ingester.extraArgs
in the values.yaml. This way the distributor wouldn't see this config and wouldn't try to validate the ingester config.
from mimir.
duplicate of #7822
from mimir.
Related Issues (20)
- Corrupt Ingester pod name in the ring HOT 1
- mimirtool can't manage alerts in mimir 2.12.0 HOT 2
- Alert State History from Mimir
- ingester.max-global-series-per-user: 2000000 is not parsable in ingester values HOT 3
- Chunk compression at rest HOT 3
- Unable to deploy helm-chart mimir-distributed with ArgoCD when setting any of `rbac.podSecurityContext` to `null`
- Lots of `"error processing requests from scheduler"` in querier logs HOT 3
- Test flake: TestDistributor/caching_unmarshal_data_disabled/reduce_native_histogram_buckets_via_down_scaling HOT 6
- Prometheus is crashign with Mimir push errors HOT 2
- failed to fetch some blocks | err-mimir-store-consistency-check-failed
- mimir-distributed Chart Env Var Expansion Failure: S3 Access Key and Access Key ID HOT 1
- [ingester] Ingester service state and lifecycler ring state not synchronized HOT 4
- Compactor fails to upload indexes larger than 1G to swift object storage
- Scrape commit failed" err="write to WAL: log samples: write data/wal/XXXXXXXX: no space left on device HOT 1
- Helm: Missing fields in Topology Spread Constraints
- Ruler Pods OOM/spike in memory observed with warning log closing ingester client stream failed
- store-gateway: add timeout to index-header loading
- Mimir returns HTTP status 422 in cases where 5xx makes more sense
- Docs: Update references to mmap in store-gateway architecture
- Query with aggregation return incorrect num of points HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimir.