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)

Summary


In this chapter, we really focused on how to build a Puppet module that is shippable. The use of Hiera and the separation of data from the logic of the module is not only applicable to modules that deploy containers, but for any Puppet modules you write. At some point in your Puppet career, you will either open source a module or contribute to an already open-sourced module. What you have learned in this chapter will be invaluable in both of those use cases. Lastly, we finished with something fun, deploying Kubernetes as the frontend to UCP. In doing this, we also looked at application routing/load balancing. This is obviously a great skill to master as your container environment grows, especially to stay away from issues such as port collision.