2 Running containers in Kubernetes with Pods and Deployments
Kubernetes runs containers for your application workloads, but the containers themselves are not objects you need to work with. Every container belongs to a Pod, which is a Kubernetes object for managing one or more containers, and Pods, in turn, are managed by other resources. These higher-level resources abstract away the details of the container, which powers self-healing applications and lets you use a desired-state workflow: you tell Kubernetes what you want to happen, and it decides how to make it happen.
In this chapter, we’ll get started with the basic building blocks of Kubernetes: Pods, which run containers, and Deployments, which manage Pods. We’ll use a simple web app ...
Get Learn Kubernetes in a Month of Lunches 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.