can Swarmkit support service affinity or exclusion?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.7k
- Forks
- 676
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
Hi, All,
Like the title.
When we experience swarm mode in docker 1.12. We found it is really important for us to schedule service. Here we have some need that different services should be scheduled to different nodes.
In another word, can swarmkit schedule a service ServiceA to node without ServiceB?
Thanks in Advance.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Swarmkit's task-scheduling subsystem and review how service placement constraints are currently represented and evaluated. Determine whether service affinity or exclusion requires a new scheduling concept or can use existing constraints. Done means a defined behavior for placing ServiceA away from nodes running ServiceB, with tests covering the requested scheduling relationship.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100