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

Feature request: A bit more flexibility with affinity rules #3

Open
dfroberg opened this issue Mar 27, 2018 · 1 comment
Open

Feature request: A bit more flexibility with affinity rules #3

dfroberg opened this issue Mar 27, 2018 · 1 comment

Comments

@dfroberg
Copy link

I have a bunch of nodes with label worker = 1 and a bunch with worker = 0 that contains specifically placed services and no workloads, unfortunately, any affinity rules make the rebalancer skip the balancing.
Any way around this would be awesome :)

@chrisurwin
Copy link
Owner

Sorry, I would have had to replicate too much of the cattle logic to make labels work so didn't implement it. If possible you could split your environment in 2 and move worker=1 to be in 1 environment, and worker=0 to another. That way you wouldn't need the labels and it would balance, but obviously that would be dependent on the architecture of your applications.
As everything is moving to Kubernetes in 2.0 this code will become obsolete.

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

No branches or pull requests

2 participants