Book Description
This book is designed as an introduction to containers and Kubernetes by way of Node.js. Containers are the basis for distributed, repeatable workflows with orchestrators such as Kubernetes, and they allow developers and operators to develop applications consistently across environments and deploy in a repeatable and predictable fashion.
The examples in this book focus on Node.js, a JavaScript runtime, and demonstrate how to develop an application that communicates with a MongoDB backend. Though the chapters of the book cover cumulative topics - from how to develop a stateless application, to adding storage, to containerization - they can also be used as independent guides.
Feel free to use the chapters in order, or jump to the discussion that best suits your purpose.
This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download From Containers to Kubernetes with Node.js ebook for free in PDF format (2.8 MB).
Table of Contents
Chapter 1
How To Build a Node.js Application with Docker
Chapter 2
How To Integrate MongoDB with Your Node Application
Chapter 3
Containerizing a Node.js Application for Development With Docker Compose
Chapter 4
How To Migrate a Docker Compose Workflow to Kubernetes
Chapter 5
How To Scale a Node.js Application with MongoDB on Kubernetes Using Helm
Chapter 6
How To Secure a Containerized Node.js Application with Nginx, Let's Encrypt, and Docker Compose