RollingUpdateStatefulSetStrategyV1
Classsealednet10.0
Represents the rolling update strategy configuration for a StatefulSet in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class RollingUpdateStatefulSetStrategyV1{ // ...}Remarks
Section titled Remarks This class specifies parameters for controlling the rolling update process of a StatefulSet, allowing updates of its Pods while maintaining certain constraints.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesPartitionget; setint? 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.