Stateful Set
A StatefulSet is a Kubernetes controller that manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods. StatefulSets are specifically designed to manage stateful applications that require persistent storage and stable network identities. The key benefits include maintaining a unique identity for each Pod, ordered and graceful deployment, and scaling. For more detailed information, refer to the official Kubernetes StatefulSet documentation.
Terraform Mappings:
kubernetes_stateful_set_v1.metadata[0].name
kubernetes_stateful_set.metadata[0].name
Supported Methods​
GET
: Get a Stateful Set by nameLIST
: List all Stateful SetsSEARCH
: Search for a Stateful Set using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")