# What is the difference between a Deployment and a StatefulSet?

Kubernetes, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/what-is-the-difference-between-a-deployment-and-a-statefulset

- A. Deployments are for stateless applications, while StatefulSets are for stateful applications
- B. Deployments can only use ClusterIP services, while StatefulSets can use LoadBalancer services
- C. Deployments can scale horizontally, while StatefulSets cannot scale
- D. Deployments use ReplicaSets, while StatefulSets use DaemonSets

**Answer:** Deployments are for stateless applications, while StatefulSets are for stateful applications

**Explanation:** Deployments are designed for stateless applications where any pod is interchangeable with any other. StatefulSets are used for stateful applications that require stable network identities, persistent storage, and ordered deployment and scaling.
