InfraMaxx

Kubernetes & Operations

StatefulSet vs Deployment

Intermediate · 6 min read · quiz included

A Deployment treats Pods as interchangeable. A StatefulSet gives each Pod a name, an address and a disk that survive replacement, which is what a database replica needs and nothing more.

What is in the lesson

Read this lessonFree. No account needed.

More in Kubernetes & Operations

All 52 Kubernetes & Operations lessons