ContainerSolutions / ContainerSolutions/mesos-starter

Add support for orchestration "strategy" and "filter"

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
enhancement Scheduler
Dominant language
Java
Stars
47
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Applications have different requirements to orchestrate the application. For example, some applications need to spread across hosts, whereas others want to maximise instance usage.

To do this, follow the precident set by Swarm to implement a Strategy (i.e. how to rank/sort hosts) and a filter (how to position).
https://docs.docker.com/swarm/scheduler/strategy/
https://docs.docker.com/swarm/scheduler/filter/
- [ ] Implement configuration option `mesos.resources.strategy`
- [ ] Implement configuration option `mess.resources.filter` [#17]
- [ ] Add strategies `{spread, binpack, random}`
- [ ] Add filters `{executorName, ...}`\*

*See swarm filter page for more options. My main use case is to only allow a single task on each host. So I would enter something like:
`mesos.resources.filter: executorName!=elasticsearch-task`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.