Kubernetes StatefulSet

From NovaOrdis Knowledge Base
Revision as of 20:15, 13 July 2023 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

StatefulSet is the workload API object used to manage stateful applications.

State and identity (name, hostname). It is not guaranteed the same IP address, but the name is constant. The state a StatefuSet pod holds is relevant, we need to be able to get to it, based on a name.

Scaling

A StatefulSet has a Scale sub-resource, allowing it to be controlled by a horizontal pod autoscaler.

StatefulSet and DNS

https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id

TODO

Kubernetes StatefulSet TODEPLETE