Interface DeploymentStrategy

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-15T03:08:35.274Z")
    @Stability(Stable)
    public interface DeploymentStrategy
    extends software.amazon.jsii.JsiiSerializable
    DeploymentStrategy describes how to replace existing pods with new ones.
    • Method Detail

      • getRollingUpdate

        @Stability(Stable)
        @Nullable
        default RollingUpdateDeployment getRollingUpdate()
        Rolling update config params.

        Present only if DeploymentStrategyType = RollingUpdate.

      • getType

        @Stability(Stable)
        @Nullable
        default IoK8SApiAppsV1DeploymentStrategyType getType()
        Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

        Possible enum values:

        • "Recreate" Kill all existing pods before creating new ones.
        • "RollingUpdate" Replace the old ReplicaSets by new one using rolling update i.e gradually scale down the old ReplicaSets and scale up the new one.

        Default: RollingUpdate.