Skip to content
Docs Try Aspire

RollingUpdateStatefulSetStrategyV1 Properties

Class Properties 2 members
Represents the rolling update strategy configuration for a StatefulSet in Kubernetes.
Gets or sets the maximum number of unavailable pods permitted during the rolling update of a StatefulSet. This property defines either an absolute number or a percentage of pods that can be unavailable simultaneously while the StatefulSet is being updated to achieve its desired state.
public int MaxUnavailable { get; set; }
Partition Section titled Partition nullable int?
Gets or sets the ordinal at which the StatefulSet should be partitioned. Pods with an ordinal greater than or equal to the specified partition value will be updated when the StatefulSet's Pod template is updated. Pods with an ordinal less than the partition value remain unchanged. This property enables management of updates to subsets of the StatefulSet.
public int? Partition { get; set; }