O'Reilly logo

The DevOps 2.2 Toolkit by Viktor Farcic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the cluster and deploying services

We'll start by recreating the cluster and deploying the stacks that we used in the previous chapter.

All the commands from this chapter are available in the 05-alerts.sh Gist at https://gist.github.com/vfarcic/cc5b51283a2555b8d5963c41afdf097d.
chmod +x scripts/dm-swarm-05.sh 
 
./scripts/dm-swarm-05.sh 
 
eval $(docker-machine env swarm-1) 

We executed the dm-swarm-05.sh script which, in turn, created a Swarm cluster composed of Docker machines, created the networks, and deployed the stacks. Now we should wait a few moments until all the services in the monitor stack are up and running. Please use docker stack ps monitor command to confirm that the status of all the services in the stack is Running.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required