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

[NYS2AWS-71] allow node anti-affinity for Solr pods #166

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

pvriel
Copy link
Contributor

@pvriel pvriel commented Nov 6, 2024

https://xenitsupport.jira.com/browse/NYS2AWS-71

For DSNY, we need an option to enforce hostname anti-affinity for the Solr pods.
The goal of this PR is to support this functionality.

@pvriel pvriel self-assigned this Nov 6, 2024
@gert-glassee
Copy link
Contributor

Hostname affinity is not enough, the EBS storage is linked to a zone, if you want spreading across different zones you should look at **topology.kubernetes.io/zone**=eu-west-1a
Therefore I would not call it hostnameAntiAffinity

@pvriel
Copy link
Contributor Author

pvriel commented Nov 7, 2024

@gert-glassee I rewrote the code to address this issue; can you check again? :)

@pvriel pvriel merged commit 6e92fec into master Nov 7, 2024
1 check passed
@pvriel pvriel deleted the NYS2AWS-71-hostname-anti-affinity branch November 7, 2024 09:44
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.

2 participants