This repository contains all the code (and some additional files) from the Kubernetes in Action, 2nd Edition book.
The book hasn't been published yet, but is available through the Manning early-access program. You can take a quick look online or purchase the book at http://kubernetes-in-action.com/second-edition.
The code archive is organized per chapter. You'll find a description of the files by following the links below.
1) Introducing Kubernetes (no code files)
3) Deploying your first application
4) Introducing the Kubernetes API objects (no code files)
5) Running applications in Pods
6) Managing the lifecycle of the Pod's containers
7) Mounting storage volumes into the Pod's containers
... other chapters coming soon
If you'd like to contribute a code improvement or a bug fix, please submit a pull request in this GitHub repository. Note that some files are intentionally incomplete and may even contain intentional errors for demonstration purposes.