Skip to content

Ingester: support zone-awareness - #668

Draft
timonegk wants to merge 2 commits into
cortexproject:masterfrom
timonegk:add-zone-awareness
Draft

Ingester: support zone-awareness#668
timonegk wants to merge 2 commits into
cortexproject:masterfrom
timonegk:add-zone-awareness

Conversation

@timonegk

Copy link
Copy Markdown

What this PR does:
Add zone awareness support to ingesters. Similar to #632, but with less duplication.
The remaining todo is the migration process. It has to be tested, documented and I have to decide which parts of the migration process should be possible via the Helm chart vs. manually. As documented by Grafana, the migration is not trivial.

Which issue(s) this PR fixes:
Fixes #203.

Checklist

  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX], [DEPENDENCY]

@timonegk
timonegk marked this pull request as draft September 10, 2026 07:51

@kd7lxl kd7lxl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would you modify the chart when the chart already supports another technique for zone awareness that doesn't require further modification? Is there something I'm missing?

@nschad

nschad commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

another technique for zone awareness

That requires the admission controller, otherwise you won't get the env-vars. If that is something you are ok with running, then yes you are correct. Otherwise there is currently no true "stand-a-lone" way of deploying zone-aware ingesters

right?

@kd7lxl

kd7lxl commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

another technique for zone awareness

That requires the admission controller, otherwise you won't get the env-vars. If that is something you are ok with running, then yes you are correct. Otherwise there is currently no true "stand-a-lone" way of deploying zone-aware ingesters

right?

Yes, I would run the admission controller. There is no need for the admission controller to be deployed in the same chart as cortex (nor would I couple them), so this is possible today. A guide doc may be the only contribution needed.

A strong benefit of the admission controller is that is does not require prior knowledge of the available zones. In contrast, the configuration method requires first collecting information about the target cluster and what zones are available, then configuring cortex for those zones. This is significant increased deployment complexity.

@nschad

nschad commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

another technique for zone awareness

That requires the admission controller, otherwise you won't get the env-vars. If that is something you are ok with running, then yes you are correct. Otherwise there is currently no true "stand-a-lone" way of deploying zone-aware ingesters
right?

Yes, I would run the admission controller. There is no need for the admission controller to be deployed in the same chart as cortex (nor would I couple them), so this is possible today. A guide doc may be the only contribution needed.

A strong benefit of the admission controller is that is does not require prior knowledge of the available zones. In contrast, the configuration method requires first collecting information about the target cluster and what zones are available, then configuring cortex for those zones. This is significant increased deployment complexity.

on the other hand, this PR allows you have to one Deployment/StatefulSet per zone which can be beneficial if you want to do per-zone rollouts. For example facialited by the grafana rollout operator

I think there is a case to be made for both. Also the admission controller (even though the code is not complicated) is not maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support zone awareness

3 participants