DevOps Mojo
Published in

DevOps Mojo

Kubernetes — Difference between Deployment and StatefulSet in K8s

Deployments vs StatefulSets in Kubernetes

Deployments vs StatefulSets

TL;DR

Deployments are usually used for stateless applications while StatefulSets are used for stateful applications.

Key Differences

  1. Pods: Pods deployed by Deployment are identical and interchangeable, created in random…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashish Patel

Ashish Patel

Cloud Architect • 2x AWS Certified • 5x Azure Certified • 2x OCI Certified • MCP • .NET • GCP • Docker • Kubernetes • Terraform (https://iamaashishpatel.ml)