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
| Name | Type | JSON name | Description |
|---|---|---|---|
CanaryBakeSeconds | int? | canaryBakeSeconds | Seconds the canaries must serve before the update goes on by itself (0 to 86400); 0 waits for `:promoteRollout`. Needs a canary. |
CanarySize | int? | canarySize | How many members are updated first and held for a decision (0 to 200); 0, no canary, when omitted. |
MaxSurge | int? | maxSurge | How many members above the size the group may have while it updates (0 to 50); 1 when omitted. |
MaxUnavailable | int? | maxUnavailable | How many members below the size may not be serving while it updates (0 to 50); 1 when omitted. Not 0 with `maxSurge` 0. |
MinReadySeconds | int? | minReadySeconds | Seconds a new member must have been ready before it counts as serving (0 to 3600); 0 when omitted. |