Deployment, ReplicaSet, and Pod hierarchy
WHAT IT TESTS: the ownership chain and rollout mechanics. OUTLINE: a Deployment manages ReplicaSets, each ReplicaSet keeps a set of identical Pods, and Deployments add rolling updates, rollback, and self-healing.
WHAT IT TESTS: whether you understand the layered ownership and why Deployments are the management unit. ANSWER OUTLINE: a Deployment is a higher-level object that creates and manages ReplicaSets; a ReplicaSet ensures a specified number of identical Pod replicas are running; Pods run the containers. We manage Deployments because they add declarative rolling updates by spinning up a new ReplicaSet and scaling down the old one, easy rollback to a prior ReplicaSet, and self-healing, none of which bare Pods provide.
Read the original → interview
- #kubernetes
- #deployment
- #replicaset
- #pods
- #rollouts
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.