-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Feature proposal - Affinities #2509
Comments
I guess a feature like this would make sense once allocation rebalance / force allocation movement is in place :) |
Hey this would be solved with affinities and not constraints. You would have two affinities, one for the preferred with a high weight and and then the secondary value with a lower weight. I am going to rename the issue. To be clear this is on the roadmap. |
Awesome! Thanks for clarification. Any milestone it can be attached to? |
@yellowmegaman Not at this time. It will not be 0.6.0 and likely not 0.7 so some time after that. |
Well, patience is golden, it's in plans and that's great. |
Since creating this issue, I've reworked all containers to be host-independent, even databases. But not load balancers. But still, sometimes i wish i could place priority for databases to be on higher IOPS instance/geo stuff without making strict constraint. |
See #4513 - it will land in 0.9 |
@jippi thanks!) |
Hey folks, Affinities have landed as part of the 0.9 betas - You can find documentation here. 😄 |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
I'd like to understand how to achieve wider interpretation in constraints.
Use case:
But what happens when host media is down or drained? What i'd want - to have "preferred hosts" and ability to launch the app/container elsewhere if host is suddenly down down.
like:
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: