Share via


RollingUpdateStatefulSetStrategyV1 Class

Definition

Represents the rolling update strategy configuration for a StatefulSet in Kubernetes.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class RollingUpdateStatefulSetStrategyV1
[<YamlDotNet.Serialization.YamlSerializable>]
type RollingUpdateStatefulSetStrategyV1 = class
Public NotInheritable Class RollingUpdateStatefulSetStrategyV1
Inheritance
RollingUpdateStatefulSetStrategyV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class specifies parameters for controlling the rolling update process of a StatefulSet, allowing updates of its Pods while maintaining certain constraints.

Constructors

RollingUpdateStatefulSetStrategyV1()

Properties

MaxUnavailable

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.

Partition

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.

Applies to