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 5. Configuring Service Discovery and Docker Networking

In this chapter, we will be looking at two very important topics when working with containers. First, we will be looking at what is service discovery, why do we need it, and the different types of service discovery. The second topic we will cover is Docker networking. There are many ways to run container networks. There are some great technologies out there such as the CoreOS project flannel (https://coreos.com/flannel/docs/latest/). There is also Weave from Weave Works (http://weave.works/), but we are going to use the native Docker networking stack released in engine version 1.9.1.