Kubernetes: Deployment vs StatefulSet
A Deployment is for stateless applications where pods are interchangeable and have random names. A StatefulSet is for stateful applications where each pod needs a persistent identity and stable storage (e.g., databases).