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)

Kubernetes


There is massive buzz around Kubernetes at the moment. This is Google's offering to the container world. Kubernetes has some very heavy backers such as Google, CoreOS, and Netflix. Out of all the schedulers that we have looked at, Kubernetes is the most complex and is highly driven by APIs. If you are new to Kubernetes, I would suggest that you read further about the product (http://kubernetes.io/). We are going to first look at the architecture of Kubernetes, as there are a few moving parts. Then, we will write our module, and we are going to build Kubernetes completely with containers.

The architecture

We will be building Kubernetes on a single node. The reason for this is that it will cut out some of the complexity on how to use flannel over the Docker bridge. This module will give you a good understanding of how Kubernetes works using more advanced Puppet techniques. If you want to take your knowledge further after you have mastered this chapter, I would recommend that you check...