Book Image

Puppet for Containerization

By : Scott Coulton
Book Image

Puppet for Containerization

By: Scott Coulton

Overview of this book

This book teaches you how to take advantage of the new benefits of containerization systems such as Docker, Kubernetes, Docker Swarm, and Docker UCP, without losing the panoptical power of proper configuration management. You will learn how to integrate your containerized applications and modules with your Puppet workflow. You will also understand how to manage, monitor, and orchestrate hosts to keep deployed containers running seamlessly. With the help of this book, you can efficiently automate and document with containers, as a part of your system. The book will also cover use cases of deploying Puppet within a containerized environment.
Table of Contents (16 chapters)

Chapter 7. Container Schedulers

Now, we are at the business end of the book. There is a lot of buzz at the moment around this topic. This is where containers are going to go in future, and schedulers solve a lot of problems, for instance, spreading the load of our application across multiple hosts for us pending on load and starting our containers on another instance if the original host fails. In this chapter, we will look at three different schedulers. First, we will look at Docker Swarm. This is a Docker open source scheduler. We will build five servers and look at how to create a replicated master. We will then run a few containers and look at how Swarm will schedule them across nodes. The next scheduler we will look at is Docker UCP (Universal Control Plane). This is a Docker enterprise solution that is integrated with Docker Compose. We will build a three-node cluster and deploy our Consul module. As UCP has a graphical interface, we will look at how UCP is scheduled from there. The...