Mastering Kubernetes 4th Edition

This is the code repository for Mastering Kubernetes, Fourth Edition, published by Packt.

The following chapters have no code samples:

  • Chapter 1
  • Chapter 11
  • Chapter 18

Dive into Kubernetes and learn how to create and operate world-class cloud-native systems

About the book

The fourth edition of the bestseller Mastering Kubernetes includes the most recent tools and code to enable you to learn the latest features of Kubernetes 1.25. This book contains a thorough exploration of complex concepts and best practices to help you master the skills of designing and deploying large-scale distributed systems on Kubernetes clusters.

You’ll learn how to run complex stateless and stateful microservices on Kubernetes, including advanced features such as horizontal pod autoscaling, rolling updates, resource quotas, and persistent storage backends. In addition, you’ll understand how to utilize serverless computing and service meshes.

Further, two new chapters have been added. “Governing Kubernetes” covers the problem of policy management, how admission control addresses it, and how policy engines provide a powerful governance solution. “Running Kubernetes in Production” shows you what it takes to run Kubernetes at scale across multiple cloud providers, multiple geographical regions, and multiple clusters, and it also explains how to handle topics such as upgrades, capacity planning, dealing with cloud provider limits/quotas, and cost management.

By the end of this Kubernetes book, you’ll have a strong understanding of, and hands-on experience with, a wide range of Kubernetes capabilities.

What you will learn

  • Learn how to govern Kubernetes using policy engines
  • Learn what it takes to run Kubernetes in production and at scale
  • Build and run stateful applications and complex microservices
  • Master Kubernetes networking with services, Ingress objects, load balancers, and service meshes
  • Achieve high availability for your Kubernetes clusters
  • Improve Kubernetes observability with tools such as Prometheus, Grafana, and Jaeger
  • Extend Kubernetes with the Kubernetes API, plugins, and webhooks

Table of Contents

Chapters

  1. Understanding Kubernetes Architecture
  2. Creating Kubernetes Clusters
  3. High Availability and Reliability
  4. Securing Kubernetes
  5. Using Kubernetes Resources in Practice
  6. Managing Storage
  7. Running Stateful Applications with Kubernetes
  8. Deploying and Updating Applications
  9. Packaging Applications
  10. Exploring Kubernetes Networking
  11. Running Kubernetes on Multiple Clusters
  12. Serverless Computing on Kubernetes
  13. Monitoring Kubernetes Clusters
  14. Utilizing Service Meshes
  15. Extending Kubernetes
  16. Governing Kubernetes
  17. Running Kubernetes in Production
  18. The Future of Kubernetes

If you feel this book is for you, get your copy today! Coding

Following is what you need for this book:

To follow the examples in each chapter, you need a recent version of Docker and Kubernetes installed onto your machine, ideally Kubernetes 1.18. If your operating system is Windows 10 Professional, you can enable hypervisor mode; otherwise, you will need to install VirtualBox and use a Linux guest OS. If you use macOS then you’re good to go.

Know more on the Discord server Coding

You can get more engaged on the discord server for more latest updates and discussions in the community at https://packt.link/cloudanddevops

Download a free PDF Coding

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. https://packt.link/free-ebook/9781804611395 Coding

We also provide a PDF file that has color images of the screenshots/diagrams used in this book at "https://packt.link/gXMql" Coding

Get to Know the Author

Gigi Sayfan has been developing software for 25+ years in domains as diverse as instant messaging, morphing, chip fabrication process control, embedded multimedia applications for game consoles, brain-inspired ML, custom browser development, web services for 3D distributed game platforms, IoT sensors, virtual reality, and genomics. He has written production code in languages such as Go, Python, C, C++, C#, Java, Delphi, JavaScript, and even Cobol and PowerBuilder for operating systems such as Windows (3.11 through 7), Linux, macOS, Lynx (embedded), and Sony PlayStation. His technical expertise includes databases, low-level networking, distributed systems, containers, unorthodox user interfaces, modern web applications, and general SDLC.