4: Working with Pods
Every app on Kubernetes runs inside a Pod.
- When you deploy an app, you deploy it in a Pod
- When you terminate an app, you terminate its Pod
- When you scale an app up, you add more Pods
- When you scale an app down, you remove Pods
- When you update an app, you deploy new Pods
This makes Pods important and is why the chapter goes into detail.
The chapter has two main parts:
- Pod Theory
- Hands-on with Pods
If some of the content we’re about to cover feels familiar, it’s because we’re building on some of the concepts introduced in Chapter 2.
We’re also about to discover that Kubernetes uses Pods to run many different workload types. However, most of the time, Pods run containers, so we’ll reference containers in most of the ...
Get The Kubernetes Book - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.