SDK reference / Models / Compute

GroupUpdatePolicy

Kind: class

Namespace: Egulu.Sdk.Models.Compute

How a VM group moves its members to a new template. At most maxSurge members above the size and at least size - maxUnavailable servingat any time; a canary of canarySize members is updated first and held until a person promotes the update (:promoteRollout) or the canarieshave served for canaryBakeSeconds. A template whose members never serve stops the update at the canary or after the first replacement, andleaves the old members in place.

Properties

NameTypeJSON nameDescription
CanaryBakeSecondsint?canaryBakeSecondsSeconds the canaries must serve before the update goes on by itself (0 to 86400); 0 waits for `:promoteRollout`. Needs a canary.
CanarySizeint?canarySizeHow many members are updated first and held for a decision (0 to 200); 0, no canary, when omitted.
MaxSurgeint?maxSurgeHow many members above the size the group may have while it updates (0 to 50); 1 when omitted.
MaxUnavailableint?maxUnavailableHow many members below the size may not be serving while it updates (0 to 50); 1 when omitted. Not 0 with `maxSurge` 0.
MinReadySecondsint?minReadySecondsSeconds a new member must have been ready before it counts as serving (0 to 3600); 0 when omitted.