support swarm cluster scheduler strategy

Registered by Eli Qiao

Enable this feature in magnum:

The Docker Swarm scheduler features multiple strategies for ranking nodes. The strategy you choose determines how Swarm computes ranking. When you run a new container, Swarm chooses to place it on the node with the highest computed ranking for your chosen strategy.

Blueprint information

Status:
Complete
Approver:
Adrian Otto
Priority:
Low
Drafter:
Eli Qiao
Direction:
Approved
Assignee:
Eli Qiao
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
hongbin

Related branches

Sprints

Whiteboard

@Eli, do you have any plan for this? I think that what you proposed is that we want to put the strategy as a parameter in heat template and enable swarm manager use it when start up, right? Thanks! --jay-lau-513 2015-11-22

I am refactoring the swarm template now(swarm HA). So there is a dependency on it. (eliqiao 2015-11-23)

See also: https://blueprints.launchpad.net/magnum/+spec/support-swarm-scheduler-strategy

In the Austin design summit, the team decided to remove the /container endpoint. Therefore, Magnum won't be able to support this feature. However, you can use the native CLI tool to achieve the goal.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.