Preview rollout defaults
Returns the values a create request would pick for any field left unset, plus the capacity context needed to display them, without creating a rollout. Responses are display state only and re-validated authoritatively at create and start; do not copy response values back into a create request.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Project identifier.
Endpoint identifier.
Body
- Option 1
- Option 2
- Option 3
Strategy, metric gates, timing, and cleanup policy for shifting traffic between two deployments under one endpoint.
Deployment that traffic shifts away from.
Deployment that traffic shifts toward.
Canary rollout strategy configuration. Mutually exclusive with blueGreen and rolling.
Blue-green rollout strategy configuration. Mutually exclusive with canary and rolling.
Rolling rollout strategy configuration. Mutually exclusive with canary and blueGreen.
Optional metric gates evaluated after each step's soak. Canary only; rejected on rolling and blue-green rollouts.
Metric gate evaluated during a rollout.
- Option 1
- Option 2
Optional final replica count for the source deployment. Defaults to 0, which drains and stops the source.
Optional target replica floor at completion. Must be at least 1 when set; defaults to the source deployment's replica count at create time, or to the source and target deployments' combined replica count when both already stand in the endpoint traffic split after a cancel. The completed target's autoscaling max lands at the landing ceiling, max(this value, the source max, the target's own max); the rollout may lift the target max at first wake, at the first step that needs it, or at completion unless an operator changes max mid-run. The lifted ceiling remains after completion, and PreviewRolloutDefaults reports a coming lift as ROLLOUT_WILL_RAISE_TARGET_MAX. A pre-existing target whose own autoscaling min is higher keeps that floor, reported as FINAL_BELOW_INHERITED_MIN. A target that starts stopped lands exactly at this value; if the source min was higher, PreviewRolloutDefaults reports FINAL_BELOW_SOURCE_MIN.
Response
OK
Completed create-form state — the caller's spec with defaulted values filled in, the steps the rollout is expected to walk, and the capacity context the defaults were computed from. Display only.
The caller's spec with defaulted values filled in for display. canary.steps is echoed exactly as sent; the suggested ladder is returned in estimatedEffectiveSteps instead.
- Option 1
- Option 2
- Option 3
Source deployment replica count the defaults were computed from. Zero is a real value.
Target deployment replica count the defaults were computed from. Zero is a real value.
Target deployment autoscaling minimum replica count. Zero is a real value.
Target deployment autoscaling maximum replica count. Zero is a real value.
Findings to surface next to the form when a later gate will refuse the spec or a standing guarantee is lost. An empty list means the shown values are safe to submit as-is; render message for unrecognized codes.
Steps the rollout is expected to walk when the caller leaves steps unset. Display only. Empty when the caller supplied steps or no ladder applies.
True when both deployments stand in the endpoint traffic split, so the rollout resumes from the current split rather than from zero. See warnings for standing split shapes that StartRollout will still reject.
Percentage of the pair's traffic currently reaching the target, the floor the suggested steps start above. Unset when not a frozen pair or unknown; 0 is a real measurement.
Expected autoscaling minimum replicas for the completed target; unset while the final target replicas cannot be resolved.
Expected autoscaling maximum replicas for the completed target; unset while the final target replicas cannot be resolved.