Table of Contents

ReplicaSet

A ReplicaSet ensures a specific number of Pods are running.

What it does

Example

replicas: 3

If one Pod crashes:

Before: 3 pods After: 3 pods (1 recreated)

Relationship

Deployment → creates ReplicaSet → manages Pods

Real-world analogy

ReplicaSet = “worker counter”

It ensures: