-
Notifications
You must be signed in to change notification settings - Fork 302
Scheduling Improvements #747
Comments
Does CoreOS intend to support other schedulers?
So it will put the same number units onto each server? What if I have a few different specs of servers, some massively more powerful than others? Can I set some bias in the fleet config perhaps? |
@stuart-warren We definitely intend to provide a full solution here, we're just not going to make fleet solve everyone's scheduling problems. The fleet scheduler supports metadata-based filtering, and the memory scheduling will be relative to the available memory of each machine independently. |
@bcwaldon so what would be considered a full solution? Will we have the ability to weight units (if they require relatively more cpu than other units), or will this be something we need to implement outside of Fleet? |
At this time, we have no plans to support any resource-related parameters. If this is something you care about, you should explore something like kubernetes or mesos. |
I totally get your point about keeping the scheduler simple and instead let others bud more high level tools to solve that. But what about some simple spreading of resources? We're using templates to support simple heroku-like scaling of processes. And we would rather not use the conflict fleet param to spread the jobs since we then have to set limits. But very often if we scale a job to, say 3, they all end up on the same host. And what is worse is that often all jobs of all services end up on the same host. This gives us a scenario where 1 host is under heavy load and the 2 others are not used. Are there any plans for simple spreading of jobs across a cluster? |
@bcwaldon Unfortunately (on stable) most of the time almost all jobs (except those with X-Fleet logic) ends up on the same machine. On a machine restart they all migrate to the next one. Don't know if what you're describing is not in the stable channel yet? What you described was what my request was all about, something simple that spreads the jobs. I solved it for now by using some X-Fleet conditions anyways. |
@gust1n yes, by "current scheduler" I mean fleet v0.7.0+. The stable channel will be updated soon. |
Cross-post: see #922 (comment) |
UPDATE 9/24:
There are two major aspects of scheduling for fleet to focus on: resource scheduling and dependency scheduling.
As far as resource scheduling goes, fleet is not going to have a full-featured scheduler. We have no plans to support any resource-related parameters past the leveling of the number of units scheduled to a particular machine.
Dependency scheduling, however, is incredibly important to get right. The following are the currently-supported parameters:
-MachineMetadata filters the list of possible machines to which a unit can be scheduled using key-value metadata
There are several ideas for new dependency-scheduling behaviors, which are enumerated below:
The text was updated successfully, but these errors were encountered: