Learn Kubernetes in a Month of Lunches
Elton Stoneman
  • MEAP began May 2020
  • Publication in Early 2021 (estimated)
  • ISBN 9781617297984
  • 400 pages (estimated)
  • printed in black & white
In Learn Kubernetes in a Month of Lunches you’ll go from “what’s a Pod?” to automatically scaling clusters of containers and components in just 22 hands-on lessons, each short enough to fit into a lunch break. Every lesson is task-focused and covers an essential skill on the road to Kubernetes mastery. You’ll learn how to smooth container management with Kubernetes, including securing your clusters, and upgrades and rollbacks with zero downtime. No development stack, platform, or background is assumed. Author Elton Stoneman describes all patterns generically, so you can easily apply them to your applications and port them to other projects!

About the Technology

The Kubernetes container management platform handles the tricky and time-consuming parts of managing applications and services deployed with Docker, including maintaining service levels, rolling out updates, scaling to meet demand, and more. Kubernetes makes it easy to build for the cloud or to migrate your existing applications, speeding up delivery with reusable patterns and efficient technologies. It works on any size of system—your apps will run the same on the data center or on your laptop. You’ll find your Kubernetes skills are easily transferable to new platforms, projects, and organizations, giving you an immediate productivity boost.

About the book

Learn Kubernetes in a Month of Lunches is a task-focused guide to getting up and running with Kubernetes—fast! Following a proven and popular teaching approach honed by author Elton Stoneman, you'll progress quickly from the basics to production deployment. Each lesson is focused on practical ways to apply Kubernetes, including portable apps that work anywhere Kubernetes runs and how to run different architectures on a single cluster. All patterns are easy to apply to your own projects whatever your background. Sample apps demonstrate Kubernetes for .NET, Java, Go, or Node.JS, on varied architectures including small and large applications, monoliths and microservices, and both stateful and stateless components. By the time you’re done, you’ll be able to use Kubernetes as the platform for multiple application types, from legacy apps to serverless functions.
Table of Contents detailed table of contents

WEEK 1: FAST TRACK TO KUBERNETES

1 Before You Begin

1.1 Understanding Kubernetes

1.2 Is this book for you?

1.3 How to use this book

1.3.1 Your learning journey

1.3.2 Try-it-nows

1.3.3 Hands-on labs

1.3.4 Additional resources

1.4 Creating your lab environment

1.4.1 Install Docker Desktop

1.4.2 Install the Kubernetes command-line tool

1.4.3 Install Docker Community Edition and KinD

1.4.4 Run a single-node Kubernetes Cluster in Azure

1.4.5 Run a single-node Kubernetes Cluster in AWS

1.4.7 Download the book’s source code

1.4.6 Verify your cluster

1.5 Being immediately effective

2 Running containers in Kubernetes with Pods and Deployments

2.1 How Kubernetes runs and manages containers

2.2 Running pods with controllers

2.3 Defining deployments in application manifests

2.4 Working with applications in pods

2.5 Understanding Kubernetes resource management

2.6 Lab

3 Connecting Pods over the Network with Services

3.1 How Kubernetes routes network traffic

3.2 Routing traffic between pods

3.3 Routing external traffic into pods

3.4 Routing traffic outside Kubernetes

3.5 Understanding Kubernetes service resolution

3.6 Lab

4 Configuring applications with ConfigMaps and Secrets

4.1 How Kubernetes supplies configuration to apps

4.2 Storing and using configuration files in ConfigMaps

4.3 Surfacing configuration data from ConfigMaps

4.4 Configuring sensitive data with Secrets

4.5 Managing app configuration in Kubernetes

4.6 Lab

5 Storing data with volumes, mounts and claims

5.1 How Kubernetes builds the container filesystem

5.2 Storing data on a node with volumes and mounts

5.3 Storing cluster-wide data with persistent volumes and claims

5.4 Dynamic volume provisioning and storage classes

5.5 Understanding storage choices in Kubernetes

5.6 Lab

6 Scaling applications across multiple Pods with Controllers

6.1 How Kubernetes runs apps at scale

6.2 Scaling for load with Deployments and ReplicaSets

6.3 Scaling for high availability with DaemonSets

6.4 Understanding object ownership in Kubernetes

6.5 Lab

WEEK 2 – TAKING KUBERNETES FURTHER

7 Patterns for multi-container pods

8 Scheduling occasional work with Jobs and CronJobs

9 Managing app deployment with upgrades and rollbacks

10 Packaging and installing apps with Helm

11 App development - the developer workflow and CI/CD

WEEK 3 – PREPARING YOUR APPS FOR PRODUCTION

12 Empowering self-healing apps with Liveness and Readiness checks

13 Centralizing application logs with Fluentd and Elasticsearch

14 Monitoring applications and Kubernetes with Prometheus

15 Managing traffic coming into your apps with Ingress

16 Securing your application with Security Contexts and Policies

WEEK 4 – GETTING YOUR KUBERNETES BLACK BELT

17 Kubernetes at scale - multi-node clusters and multiple clusters

18 Advanced scheduling patterns and automatic scaling

19 Securing resources with role-based access control

20 Serverless functions as containers in your Kubernetes cluster

21 Running a multi-architecture cluster with Windows and Arm nodes

22 Never the end

What's inside

  • Deploying and manage applications on Kubernetes clusters
  • Defining applications in Kubernetes YAML format
  • Kubernetes app lifecycle, from packaging to rollbacks
  • Self-healing and scalable apps
  • Securing a Kubernetes cluster
  • Using Kubernetes as a platform for new technologies
  • Exercises introducing all new concepts

About the reader

For readers comfortable with Docker and containerization.

About the author

Elton Stoneman is a 10-time Microsoft MVP and a Docker Captain. After several years working for Docker, Elton now offers consulting services for organizations at every stage in their container journey. He is a regular speaker and workshop instructor at conferences and the author of Learn Docker in a Month of Lunches.

placing your order...

Don't refresh or navigate away from the page.
Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
print book $24.99 $49.99 pBook + eBook + liveBook
Additional shipping charges may apply
Learn Kubernetes in a Month of Lunches (print book) added to cart
continue shopping
go to cart

eBook $19.99 $39.99 3 formats + liveBook
Learn Kubernetes in a Month of Lunches (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.

FREE domestic shipping on three or more pBooks