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)

Monitoring


In the world of containers, there are a few levels of monitoring that you can deploy. For example, you have your traditional ops monitoring. So your Nagios and Zabbix of the world or even perhaps a cloud solution like Datadog. All these solutions have good hooks into Docker and can be deployed with Puppet. We are going to assume in this book that the ops team has this covered and your traditional monitoring is in place. We are going to look at the next level of monitoring. We will concentrate on the container connectivity and Swarm cluster health. We will do this all in Consul and deploy our code with Puppet.

The reason we are looking at this level of monitoring is because we can make decisions about what Consul is reporting. Do we need to scale containers? Is a Swarm node sick? Should we take it out of the cluster? Now to cover these topics, we will need to write a separate book. I won't be covering these solutions. What we will look at is the first step to get there. Now that...