The Kubernetes Book
Minimum price
Suggested price

The Kubernetes Book

About the Book

This is a book about Kubernetes - no prior knowledge required!

It's designed to teach you the theory and the practical as fast as possible so that you can hit the ground running with your first Kubernetes deployment.

About the Author

Nigel Poulton
Nigel Poulton

Nigel is a self confessed technology addict who is hell-bent on creating the best Kubernetes and cloud learning resources on the planet. He's the author of over 16 video training courses at Pluralsight, as well as more at A Cloud Guru, Udemy and more... He's active on Twitter, creates weekly and monthly Kubernetes videos on YouTube, and his website is the best place for links to learn about Kubernetes. When he's not rocking it with Kubernetes, he likes cars and football.

Bundles that include this book

Suggested Price
Bundle Price
Suggested Price
Bundle Price

Table of Contents

  • 0: Preface
    • Paperbacks, hardbacks, eBooks, audio, and translations
    • The book’s GitHub repo
    • Feedback and contacting me
  • 1: Kubernetes primer
    • Kubernetes background
    • Kubernetes as the operating system of the cloud
    • Chapter summary
  • 2: Kubernetes principles of operation
    • Kubernetes from 40K feet
    • Control plane and worker nodes
    • Kubernetes DNS
    • Packaging apps for Kubernetes
    • The declarative model and desired state
    • Pods
    • Deployments
    • Service objects and stable networking
    • Chapter summary
  • 3: Getting Kubernetes
    • Kubernetes playgrounds
    • Hosted Kubernetes
    • DIY Kubernetes clusters
    • Getting Kubernetes to follow along with the examples
    • Play with Kubernetes
    • Docker Desktop
    • Google Kubernetes Engine (GKE)
    • Other installation methods
    • kubectl
    • Chapter summary
  • 4: Working with Pods
    • Pod theory
    • Multi-container Pods
    • Hands-on with Pods
    • Clean-up
    • Chapter Summary
  • 5: Virtual clusters with Namespaces
    • Use cases for Namespaces
    • Inspecting Namespaces
    • Creating and managing Namespaces
    • Deploying to Namespaces
    • Clean-up
    • Chapter Summary
  • 6: Kubernetes Deployments
    • Deployment theory
    • Create a Deployment
    • Perform scaling operations
    • Perform a rolling update
    • Perform a rollback
    • Clean-up
    • Chapter summary
  • 7: Kubernetes Services
    • Setting the scene
    • Service Theory
    • Hands-on with Services
    • Clean-up
    • Chapter Summary
  • 8: Ingress
    • Setting the Scene for Ingress
    • Ingress architecture
    • Hands-on with Ingress
    • Clean-up
    • Chapter summary
  • 9: Service discovery deep dive
    • Quick background
    • Service registration
    • Service discovery
    • Service discovery and Namespaces
    • Troubleshooting service discovery
    • Summary
  • 10: Kubernetes storage
    • The big picture
    • Storage Providers
    • The Container Storage Interface (CSI)
    • The Kubernetes persistent volume subsystem
    • Dynamic provisioning with Storage Classes
    • Hands-on
    • Clean-up
    • Chapter Summary
  • 11: ConfigMaps and Secrets
    • The big picture
    • ConfigMap theory
    • Hands-on with ConfigMaps
    • Hands-on with Secrets
    • Clean-up
    • Chapter Summary
  • 12: StatefulSets
    • The theory of StatefulSets
    • Hands-on with StatefulSets
    • Chapter Summary
  • 13: API security and RBAC
    • API security big picture
    • Authentication
    • Authorization (RBAC)
    • Admission control
    • Chapter summary
  • 14: The Kubernetes API
    • Kubernetes API big picture
    • The API server
    • The API
    • Chapter summary
  • 15: Threat modeling Kubernetes
    • Threat model
    • Spoofing
    • Tampering
    • Repudiation
    • Information Disclosure
    • Denial of Service
    • Elevation of privilege
    • Pod Security Policies
    • Towards more secure Kubernetes
    • Chapter summary
  • 16: Real-world Kubernetes security
    • CI/CD pipeline
    • Infrastructure and networking
    • Identity and access management (IAM)
    • Auditing and security monitoring
    • Real world example
    • Chapter summary
  • Terminology
  • Outro
    • About the front cover
    • A word on the icons used in diagrams
    • Connect with me
    • Feedback and reviews

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$10,898,062writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub