2.10.1 • Published 6 years ago

@ampliflex/swarm-builder v2.10.1

Weekly downloads
80
License
-
Repository
-
Last release
6 years ago

Swarm Builder

This tool is used to fully automate swarm creation, based on node roles.

Objective

  • With a pool of compute instances, create a complete swarm with everything needed to run services
  • All nodes are created in parallel, when possible. (masters must be started before slaves)

Syntax

All recipes are described in Javascript. This is more powerful than describing using YML or JSON. The swarm-builder provides high-level constructs to easily describe every nodes.

  • meta: docker-version

  • node ip: ssh-Key ssh-username

    roles: one or more node roles (ex: swarm-master, swarm-slave, mongodb-replicaset)

Roles are defined in their own files

Sample command

  • swb env -s dev mongodb.transaction mongodb://localhost:27017/transaction
  • swb deploy -s dev --image dockerdev.hubgroup.com/customer:DEV-897867 customer-1-0
  • swb update -s dev --image dockerdev.hubgroup.com/customer:DEV-897867 customer-1-1
  • swb volume sync proxy_deployments --folder ./volumes/deployments
  • swb volume create -s dev --name docker_registry_data --mountpoint /repo --node app2,app1,app3
  • swb facade create --name car_demo --role app-worker --mountpoint /home/dock-dev/demo_facade -s dev --folder ./facades/car_demo
  • swb volume ls -s dev web1,web2
2.10.1

6 years ago

2.10.0

6 years ago

2.9.12

7 years ago

2.9.11

7 years ago

2.9.10

7 years ago

2.9.9

7 years ago

2.9.8

7 years ago

2.9.7

7 years ago

2.9.6

7 years ago

2.9.5

7 years ago

2.9.4

7 years ago

2.9.3

7 years ago

2.9.2

7 years ago

2.9.1

7 years ago

2.9.0

7 years ago

2.8.3

7 years ago

2.8.2

7 years ago

2.8.1

7 years ago

2.8.0

7 years ago

2.7.15

7 years ago

2.7.14

7 years ago

2.7.13

7 years ago

2.7.12

7 years ago

2.7.11

7 years ago

2.7.10

7 years ago

2.7.9

7 years ago

2.7.8

7 years ago

2.7.7

7 years ago

2.7.6

8 years ago

2.7.5

8 years ago

2.7.4

8 years ago

2.7.3

8 years ago

2.7.2

8 years ago

2.7.1

8 years ago

2.7.0

8 years ago

2.6.0

8 years ago

2.5.2

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago

2.2.11

8 years ago