Skip to content

The deployment flow

The canary flow has six stages: deploy the new version, route a slice, measure, compare, widen or roll back, promote.

graph LR
  A[Deploy v2] --> B[Route 1% traffic]
  B --> C[Compare metrics]
  C -->|OK| D[Widen to 5%]
  C -->|Regression| R[Roll back]
  D --> E[Widen to 25%]
  E --> F[Widen to 100%]
  F --> G[v2 becomes stable]
  R --> H[v1 keeps serving]
  style A fill:#E8F5E9
  style G fill:#E8F5E9
  style R fill:#FFEBEE