⎈ 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 · docA StatefulSet manages deployment and scaling of a set of Pods, with durable storage and persistent identifiers for each Pod.

Related (14)

references HorizontalPodAutoscaler WalkthroughStatefulSet conf=1
references Run a Replicated Stateful Applicationstatefulset conf=1
references Running in multiple zonesStatefulSet conf=1
references Node-pressure EvictionStatefulSet conf=1
references PodsStatefulSet conf=1
references Horizontal Pod AutoscalingStatefulSet conf=1
references Vertical Pod AutoscalingStatefulSet conf=1
defines StatefulSets conf=1
references ImagesStatefulSet conf=1
references Recommended LabelsStatefulSet conf=1
references Node ShutdownsStatefulSet conf=1
references StatefulSet BasicsStatefulSets conf=1
references What Happens After A Node RestartStatefulSet conf=1
prerequisite_of CustomResourceDefinitionai-suggested prerequisite conf=0.7

← all Docs