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

All hands-on parts of the past chapters started with the execution of a script that creates a cluster and deploys the services we'll need. This chapter is no exception. You know the drill so let's get to it.

All the commands from this chapter are available in the 11-instrumentation.sh (https://gist.github.com/vfarcic/85bd6824032fb2a05d7fe624516548a7) Gist: chmod +x scripts/dm-swarm-11.sh ./scripts/dm-swarm-11.sh eval $(docker-machine env swarm-1) docker stack ls

We executed the dm-swarm-11.sh script which, in turn, created a Swarm cluster composed of Docker Machines, created the networks, and deployed only one stack. The last command listed all the stacks in the cluster and showed that we are ...

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