Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions content/en/docs/concepts/workloads/controllers/statefulset.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,18 @@ that are running with the `MaxUnavailableStatefulSet`
enabled.
{{< /note >}}

#### PodManagementPolicy

You can determine the order at which the pods are deleted by specifying the `.spec.PodManagementPolicy`
field. There are two policies that you can configure for each StatefulSet:

`parallel`
: When updating, there will always be maxUnavailable number of pods terminating except the last batch

`orderedReady`
: When updating, the number of pods terminating won't always be maxUnavailable, but sometimes less than
that. This implementation avoids out of order Terminations of pods.
Comment on lines +366 to +376
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely recommend hyperlinking to the existing Pod management policies section.


### Forced rollback

When using [Rolling Updates](#rolling-updates) with the default
Expand Down