ordinal identity
The numbered, stable name each StatefulSet pod gets, such as web-0, which it keeps together with its storage across restarts.
In more detail
The ordinal lets clustered software know which member is which and lets each replica find its own claim again. It helps recovery but is not a backup: deleting a pod brings back the same identity with the same, possibly damaged, data.
Related terms
- StatefulSet — The Kubernetes object for replicated applications where each pod needs a stable name and its own storage, such as databases.
- headless Service — A Service with no cluster IP whose DNS name returns the individual pod addresses, giving each pod a stable name of its own.
Taught in
- StorageClasses, CSI And Dynamic Provisioning — Kubernetes: Production-Grade Container Orchestration
- StatefulSets, Stable Identity And Data Recovery — Kubernetes: Production-Grade Container Orchestration