Support Docker Swarm Mode
Support as a new COE Docker Swarm Mode, based on Swarmkit, the new orchestration system included into the Docker Engine in 1.12+.
No additional configurations, like external Etcd, are required: They are already integrated into Swarm. So, the workflow should be significantly easier: Instanciate docker hosts, initialize the swarm on the first, join other managers, join workers.
The new ClusterTemplate should have the same properties of the current Swarm COEs, only type should change to avoid confusion, to "swarm-mode".
magnum cluster-
magnum cluster-create --name swarm-mode-cluster \
These commands create the template and instanciate a cluster with 3 managers and 5 workers.
Also, new images should be added and supported. I am thinking more to an approach like Docker Machine launched with the generic driver. In the beginning, we could start by supporting officially Ubuntu 16.04 rather than Fedora Atomic, and have some good hooks for adding the Docker hosts running on different distros provisioning easier, later.
Blueprint information
- Status:
- Complete
- Approver:
- Ton Ngo
- Priority:
- Undefined
- Drafter:
- Fabrizio Soppelsa
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Spyros Trigazis
- Completed by
- Spyros Trigazis
Related branches
Related bugs
Sprints
Whiteboard
---
Available since pike on fedora atomic.
-------
strigazi @ Thu Jul 13 09:37:09 UTC 2017
With the current patch https:/
I have tested that it works in the default scenario. Single master with the dedicated cluster private network without LB. I tested multimaster config in a hackish way to verify that secondary masters can join.
Next working items:
- test optional FIPs
- test master LB
- Allow multi-master without lb?
- test passing a private network
- reno
- docs
- unit tests
- copy logs
- add baremetal support
-------
Gerrit topic: https:/
Addressed by: https:/
[PoC] Deploy docker swarm mode on baremetal Fedora
^^^ No longer in development, superceded by https:/
Gerrit topic: https:/
Addressed by: https:/
Add swarm-mode driver
Addressed by: https:/
DO_NOT_MERGE Test private network and subnet
Addressed by: https:/
tests: Use swarm-mode for api tests
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Add remaining release notes