Kubernetes YAML Workloads/Set rolling update partition

Control StatefulSet ordinal rollout.

Section: StatefulSets

Set rolling update partition

yaml
yaml
updateStrategy:
  type: RollingUpdate
  rollingUpdate:
    partition: 1

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing StatefulSets
Basic StatefulSet YAML
Run stateful replicas with stable ordinals.
OpenIn sheetyamlsame section
Basic DaemonSet YAML
Deploy a log collector or node agent everywhere.
Basic Job YAML
Run a one-time batch task with retries.
HorizontalPodAutoscaler YAML
Scale Deployment based on CPU utilization.
Restart a DaemonSet rollout
Trigger rollout after a config change.
Basic CronJob YAML
Schedule recurring batch work.