A failed deployment in one cell
failed-deployment.mp4 (1:10, 720p, with sound): a new version fails in one cell while the others stay healthy on it. LabKit’s metrics surface the problem straight away, the cell rolls itself back to its last good version, the owning team gets a non-paging Slack alert, and they find and fix the cause. It shows the intended flow.
Like A new version, it uses the Orbit chart for demo purposes, with made-up versions; nothing in the rollback path is specific to one chart.
| Time | Step | What happens |
|---|---|---|
| 0:00 | Ring-1 is rolling out 0.13.0 | ring-0 is healthy on 0.13.0. Each cell in ring-1 rolls out on its own. |
| 0:06 | 1 · The canary | cell-01 goes healthy on 0.13.0. On cell-02, the first pods on the new version push LabKit’s request error ratio from 0.3% to 7.4%. |
| 0:18 | 2 · Automatic rollback | The rollout’s analysis step fails, Argo Rollouts aborts, and cell-02 keeps serving its last stable version, 0.12.1. cell-01 stays on 0.13.0. Promotion to ring-2 holds. |
| 0:28 | 3 · A Slack alert, not a page | Argo CD reports the app Degraded and its notifications controller posts to the owning team’s channel. Users are already protected, so nobody is paged. |
| 0:38 | 4 · Find out why | kubectl argo rollouts get rollout shows RolloutAborted and names the failed metric. cell-02’s logs show the new code path failing on a setting only that cell has. |
| 0:50 | 5 · Fix it the normal way | The fix merges to main as Orbit chart 0.13.1 and follows the same path: ring-0, then ring-1. cell-02 goes healthy and ring-2 can follow. |
| 1:02 | Resolved | No page, no manual rollback, one Slack alert, one fix merged to main. |
How the rollback works:
- Argo Rollouts does the rollback, not Argo CD. Argo CD applies what Git says; on its own it would leave the cell Degraded on the new version. Services deploy as Argo Rollouts
Rolloutresources with an analysis step. When the analysis fails, Rollouts aborts the update and keeps the stable version serving, in that cell only, with no Git change. - LabKit’s metrics drive the analysis. The analysis queries the request error ratio that LabKit instruments every service with; above the threshold (1% in the video, an example) the analysis fails. The query and threshold live with the ring’s values in phaleron-config.
- Git still says 0.13.0 for ring-1. The cell runs
0.12.1because the Rollout aborted, not because a pin changed. That is why Argo CD shows Degraded until the fix arrives, and why the fix ships as a new version rather than a revert. - The alert is non-paging by design. The rollback has already protected users; the team fixes the cause in working hours.
Editing
- Editable page: https://claude.ai/artifact/XLucdtJ4K2mbVQrBKvzjMZ (private to its owner until shared).
- Source:
source/, enough to rebuild the video if the page is gone. Regenerate with../tools/build_application_films.py. - How to edit, re-export and re-encode: Editing and re-exporting.
Last updated on