Chapter 3. Pods: running containers in Kubernetes

This chapter covers

  • Creating, running, and stopping pods
  • Organizing pods and other resources with labels
  • Performing an operation on all pods with a specific label
  • Using namespaces to split pods into non-overlapping groups
  • Scheduling pods onto specific types of worker nodes

The previous chapter should have given you a rough picture of the basic components you create in Kubernetes and at least an outline of what they do. Now, we’ll start reviewing all types of Kubernetes objects (or resources) in greater detail, so you’ll understand when, how, and why to use each of them. We’ll start with pods, because they’re the central, most important, concept in Kubernetes. Everything else either manages, ...

Get Kubernetes in Action 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.