Skip to main content

StatefulSet



Resource Icon

Resource Overview

A Kubernetes resource that manages the deployment and scaling of a set of Pods and provides guarantees about the ordering and uniqueness of these Pods.

Associated Resources

Parent Resource

Connected Resources


Resource Configuration

Basic Settings

  • namespace : Namespace where the StatefulSet resource will be deployed
  • annotations : Kubernetes system metadata key-value pairs
  • labels : Labels used to identify the StatefulSet resource
  • template_labels : Labels applied to the Pods that will be created
  • pod_management_policy : Method for controlling Pod creation and deletion order (Parallel, OrderedReady)
  • revision_history_limit : Number of revision histories to retain
  • linked_service_name : Name of the Headless Service that manages the StatefulSet
  • replicas : Number of Pod replicas to maintain
  • pod_security_context : Pod-level security and permission settings
  • init_containers : Definition of initialization containers executed before the main containers
  • containers : Definition of containers included in the Pod
  • volume : Definition of volumes used by the Pod
  • dns_policy : Pod DNS policy
  • enable_service_links : Whether to automatically inject service environment variables
  • host_network : Whether to use the host network
  • image_pull_secrets : List of Secrets used when pulling container images

References