Reading · 12 min

Pods, deployments and services

You are previewing a free lesson. Enrol to save progress and take quizzes.

A pod runs one or more containers. A deployment declares how many pod replicas you want and replaces failed ones automatically. A service gives those changing pods a stable address. You describe the desired state in YAML, and Kubernetes keeps working to make reality match it.