ClusterUpgradePolicy

data class ClusterUpgradePolicy(val deltaHealthPolicy: ClusterUpgradePolicyDeltaHealthPolicy? = null, val forceRestartEnabled: Boolean? = null, val healthCheckRetryTimeout: String? = null, val healthCheckStableDuration: String? = null, val healthCheckWaitDuration: String? = null, val healthPolicy: ClusterUpgradePolicyHealthPolicy? = null, val upgradeDomainTimeout: String? = null, val upgradeReplicaSetCheckTimeout: String? = null, val upgradeTimeout: String? = null)

Constructors

Link copied to clipboard
constructor(deltaHealthPolicy: ClusterUpgradePolicyDeltaHealthPolicy? = null, forceRestartEnabled: Boolean? = null, healthCheckRetryTimeout: String? = null, healthCheckStableDuration: String? = null, healthCheckWaitDuration: String? = null, healthPolicy: ClusterUpgradePolicyHealthPolicy? = null, upgradeDomainTimeout: String? = null, upgradeReplicaSetCheckTimeout: String? = null, upgradeTimeout: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A delta_health_policy block as defined below

Link copied to clipboard

Indicates whether to restart the Service Fabric node even if only dynamic configurations have changed.

Link copied to clipboard

Specifies the duration, in "hh:mm:ss" string format, after which Service Fabric retries the health check if the previous health check fails. Defaults to 00:45:00.

Link copied to clipboard

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric waits in order to verify that the cluster is stable before it continues to the next upgrade domain or completes the upgrade. This wait duration prevents undetected changes of health right after the health check is performed. Defaults to 00:01:00.

Link copied to clipboard

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric waits before it performs the initial health check after it finishes the upgrade on the upgrade domain. Defaults to 00:00:30.

Link copied to clipboard

A health_policy block as defined below

Link copied to clipboard

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric takes to upgrade a single upgrade domain. After this period, the upgrade fails. Defaults to 02:00:00.

Link copied to clipboard

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric waits for a replica set to reconfigure into a safe state, if it is not already in a safe state, before Service Fabric proceeds with the upgrade. Defaults to 10675199.02:48:05.4775807.

Link copied to clipboard
val upgradeTimeout: String? = null

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric takes for the entire upgrade. After this period, the upgrade fails. Defaults to 12:00:00.