Interview Prep/Kubernetes/Upgrades, etcd, disaster recovery and incidents

What is the difference between a Deployment, StatefulSet and DaemonSet?

BeginnerScenarioUpgrades, etcd, disaster recovery and incidents
Answer

Situation read → Fundamentals.

What I'd do →

  1. Deployment: stateless, interchangeable replicas
  2. StatefulSet: stable identity and storage, ordered operations
  3. DaemonSet: one pod per node
  4. Pick by state and placement needs
  5. Verify with kubectl get deploy,sts,ds

Why → Each controller encodes a different guarantee.

Interview tip → Give an example for each.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Upgrades, etcd, disaster recovery and incidents