Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

receive: Use anti-affinity to spread across zones #119

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

brancz
Copy link
Member

@brancz brancz commented Apr 29, 2020

Signed-off-by: Frederic Branczyk fbranczyk@gmail.com

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Spread receive pods across zones.

Verification

Tried the example manifests.

@bwplotka @metalmatze @squat @kakkoyun @krasi-georgiev

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
@brancz
Copy link
Member Author

brancz commented Apr 29, 2020

I want to double check this still works on nodes that don't have the label. I think it does, but I want to double check.

@brancz
Copy link
Member Author

brancz commented Apr 29, 2020

Double checked, works just fine :)

@@ -38,6 +38,17 @@ spec:
- thanos
topologyKey: kubernetes.io/hostname
weight: 100
- podAffinityTerm:
Copy link
Member

Choose a reason for hiding this comment

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

Hmm I would expect podAntiAffinity, no?

Copy link
Member Author

Choose a reason for hiding this comment

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

The wording is extremely confusing I agree, but it's under the podAntiAffinity object, so this does what we expect.

Copy link
Member

Choose a reason for hiding this comment

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

ah, diff was not even showing this word... (: Thanks

Copy link
Member

@squat squat left a comment

Choose a reason for hiding this comment

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

Nice:)))

@brancz brancz merged commit 1eb4998 into master Apr 30, 2020
@brancz brancz deleted the zone-spread branch April 30, 2020 09:43
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.

None yet

3 participants