Skip to content

Swarm mode

wayerr edited this page Dec 26, 2016 · 22 revisions

Some notes while swarm-mode is implementing

Swarm mode is supported by docker engine at 1.12 version. Now support of it in our system is under development.

issues

https://github.com/codeabovelab/haven-platform/labels/swarm-mode

Roadmap

  • implement docker DTOs (possibly already finished)
  • extends DockerService for new api methods
  • make new cluster kind and do some refactoring. Swarm-mode define allow to orchestrate only through master-nodes (note that it can be more that one), but also allow to change it nodes by election. Current RealCluster does not support this.
  • support for
  • scaling
  • rolling update

docker

Docker Api

Swarm doc

oddities

  • Engine allow to create cluster with one node, allow add second node, but broken when we remove newly added node (need investigation and workaround)
  • Cluster has ID, and does not allow add any custom labels - we can not store additional info
  • Node id will be generated at join, and rejoined node has new ID - so cluster allow address node by name (need check behavior of adding two nodes with same host name to cluster). Also cluster allow to join multiple nodes with same name.
Clone this wiki locally