Interface StatefulSetUpdateStrategyRollingUpdateOptions

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    StatefulSetUpdateStrategyRollingUpdateOptions.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.57.0 (build f614666)",
               date="2022-04-26T09:02:10.564Z")
    @Stability(Stable)
    public interface StatefulSetUpdateStrategyRollingUpdateOptions
    extends software.amazon.jsii.JsiiSerializable
    Options for `StatefulSetUpdateStrategy.rollingUpdate`.
    • Method Detail

      • getPartition

        @Stability(Stable)
        @Nullable
        default Number getPartition()
        If specified, all Pods with an ordinal that is greater than or equal to the partition will be updated when the StatefulSet's .spec.template is updated. All Pods with an ordinal that is less than the partition will not be updated, and, even if they are deleted, they will be recreated at the previous version.

        If the partition is greater than replicas, updates to the pod template will not be propagated to Pods. In most cases you will not need to use a partition, but they are useful if you want to stage an update, roll out a canary, or perform a phased roll out.

        Default: 0