Chapter 4. Replication and other controllers: deploying managed pods

This chapter covers

  • Keeping pods healthy
  • Running multiple instances of the same pod
  • Automatically rescheduling pods after a node fails
  • Scaling pods horizontally
  • Running system-level pods on each cluster node
  • Running batch jobs
  • Scheduling jobs to run periodically or once in the future

As you’ve learned so far, pods represent the basic deployable unit in Kubernetes. You know how to create, supervise, and manage them manually. But in real-world use cases, you want your deployments to stay up and running automatically and remain healthy without any manual intervention. To do this, you almost never create pods directly. Instead, you create other types of resources, such as ReplicationControllers ...

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.