⎈ k8s knowledge compiler

StatefulSet [glossary]deterministic

A StatefulSet manages deployment and scaling of a set of Pods, with durable storage and persistent identifiers for each Pod.

fundamentalcore-objectworkloadstorage

Manages the deployment and scaling of a set of [Pods](#gloss:pod), *and provides guarantees about the ordering and uniqueness* of these Pods.

Like a [deployment](#gloss:deployment), a StatefulSet manages Pods that are based on an identical container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of its Pods. These pods are created from the same spec, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.

If you want to use storage volumes to provide persistence for your workload, you can use a StatefulSet as part of the solution. Although individual Pods in a StatefulSet are susceptible to failure, the persistent Pod identifiers make it easier to match existing volumes to the new Pods that replace any that have failed.

Sources

reference/glossary/statefulset.md · doc — “A StatefulSet manages deployment and scaling of a set of Pods, with durable storage and persistent identifiers for each Pod.”

Related (14)

references HorizontalPodAutoscaler Walkthrough — StatefulSet conf=1
references Run a Replicated Stateful Application — statefulset conf=1
references Running in multiple zones — StatefulSet conf=1
references Node-pressure Eviction — StatefulSet conf=1
references Pods — StatefulSet conf=1
references Horizontal Pod Autoscaling — StatefulSet conf=1
references Vertical Pod Autoscaling — StatefulSet conf=1
defines StatefulSets conf=1
references Images — StatefulSet conf=1
references Recommended Labels — StatefulSet conf=1
references Node Shutdowns — StatefulSet conf=1
references StatefulSet Basics — StatefulSets conf=1
references What Happens After A Node Restart — StatefulSet conf=1
prerequisite_of CustomResourceDefinition — ai-suggested prerequisite conf=0.7

← all Docs