Like a restaurant with a "always have 3 cooks" policy — if one leaves, immediately hire another.
Deployment ensures N replicas are always running. If a pod crashes, Kubernetes creates a replacement. selector.matchLabels tells Deployment which pods it owns.
> Deployment: 3 replicas desired > ReplicaSet: managing 3 pods > Pod crash → new pod created in ~5s
Like a restaurant with a "always have 3 cooks" policy — if one leaves, immediately hire another.
Deployment ensures N replicas are always running. If a pod crashes, Kubernetes creates a replacement. selector.matchLabels tells Deployment which pods it owns.
> Deployment: 3 replicas desired > ReplicaSet: managing 3 pods > Pod crash → new pod created in ~5s
Sign in to cast your vote
Sign in to share your feedback and join the discussion.