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

Question: Docker Strategy, Scheduling, asymetric clusters #305

Closed
vbichov opened this issue Oct 19, 2015 · 4 comments
Closed

Question: Docker Strategy, Scheduling, asymetric clusters #305

vbichov opened this issue Oct 19, 2015 · 4 comments

Comments

@vbichov
Copy link

vbichov commented Oct 19, 2015

Hello,
Nomad is looking very promising, however it also appears to be at a very early stage.
A few questions about the road map:

  • Will there be other strategies aside from "pack"? such as spread?
  • Will global scheduling be supported?
  • Will it be possible to run tasks that require "orchestration" that is, the transfer of data from one node to the other? such as an IP address of a leader etc.

Thank you.

@dadgar
Copy link
Contributor

dadgar commented Oct 19, 2015

Hey! I will try to answer these questions. Also feel free to post in the nomad-tool google group.

  1. Nomad applies an anti-affinity to placing task groups on the same machine. So it naturally tries to spread load across the cluster.
  2. PR Add System Scheduler that runs tasks on every node #287 adds support for global scheduling. A full-up PR will be coming soon that invokes an evaluation on node joins to complete the global scheduling picture.
  3. Yes there will be. We will be adding support for Consul by 0.2. This will allow you to do the service discovery you are describing.

Let me know if you still have questions!

@chuyskywalker
Copy link

chuyskywalker commented Jul 4, 2016

Sorry to dredge up old threads, but seemed most appropriate after searching...

Nomad applies an anti-affinity to placing task groups on the same machine. So it naturally tries to spread load across the cluster.

@dadgar - is that still true today? I'm finding that, in my 3 node cluster, nearly all my containers are scheduled in just two of the nodes. The third rarely, if ever, gets jobs. It does get my system"jobs, but rarely the service type.

Or, perhaps that's per just task groups? What about spread across jobs themselves?

@dadgar
Copy link
Contributor

dadgar commented Jul 11, 2016

Jobs themselves do not get that spread behavior. This is only for task groups in the same job. We actually try to bin-pack nodes which is why you see the behavior you are

@github-actions
Copy link

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants