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 Setting Values
service_name: Name of the service that manages the statefulsetnamespace: Namespace where StatefulSet resources will be deployedannotations: A key-value used to display necessary information in the Kubernetes systemlabels: To distinguish objects, the user arbitrarily specifies the desired valuetemplate_labels: Label to be set in Podpod_management_policy: Control how pods are created when pods are replaced or scaled down on a node -Parallel,OrderedReadyrevision_history_limit: Maximum number of revisions to be maintained in the StatefulSet's revision history, default is 10service_name: Name of the service that manages the statefulsetreplicas: Desired number of Pod replicas - default is 1containers: Defines templates for containers belonging to a pod - You can set default values and apply them, and then configure detailed settingscontainers.name: Defines the name of the containerimage: Docker image name to useargs: Commands to be executed in the containercommand: Commands to be executed in the containerport: List of ports to expose in containerresources: Specifies the amount of resources in the container - Detailed settingsname: Specify minimum/maximum amount of computing resources -Limits,requestscpu: Specifies the amount of cpu(m)memory: Specifies the amount of memory(Mi)
probe: Define how to diagnose the health of a Pod - Detailed settingsname: Probe method selection -startup,liveness,readinesshttp_get_path: Path to access the HTTP serverhttp_get_port: Port number to be accessed by the containerhttp_header: Custom headers to set in the requestinitial_delay_seconds: Number of seconds after the container starts before the probe startsperiod_seconds: How often to perform probes (in seconds)
env: Block of key-value pairs to set in container environment - Detailed settingsname: Name of the environment variablevalue: Value for the environment variable
volume_mount: The pod volume to mount on the container's file system - Detailed settingsname: Name of the volume mountpathmount_path: Path within the container where the volume should be mountedsub_path: Path within the container where the volume should be mounted
volume: List of volumes that containers in a pod can mountname: Volume nametype: Type of volume to mount -EmptyDir,ConfigMap,PersistentVolumeClaimtarget_name: Name of persistent volume claimdefault_mode: Mode to use for generated files - between 0 and 0777, default is 0644read_only: If true, mounted read-only, otherwise read/write
image_pull_secrets: Secret in the same namespace containing the permissions needed to pull the image used by the Container