Application runbooks
Application runbooks
How application changes work their way through the cells: a new version of a service, a change to a ring’s configuration, or a change to one cell. Every one of them is a change to phaleron-config, GitLab.com’s fleet control plane, applied to each cell by the Theseus install and upgrade tooling and the cell’s own Argo CD. None of them touches the infrastructure layer.
| Runbook | Video | Editable page | Source |
|---|---|---|---|
| A new version (shown with the Orbit chart) | new-version.mp4 | edit | new-version/source |
| A failed deployment in one cell (shown with the Orbit chart) | failed-deployment.mp4 | edit | failed-deployment/source |
| An o11y stack in every cell | o11y-stack.mp4 | edit | o11y-stack/source |
| A change ships with its SLIs (shown with the Orbit chart) | change-with-slis.mp4 | edit | change-with-slis/source |
| Paged for one cell (shown with the Orbit chart) | paged-alert.mp4 | edit | paged-alert/source |
| A low-severity incident (shown with the Orbit chart) | low-severity.mp4 | edit | low-severity/source |
| A new service joins the platform | new-service.mp4 | edit | new-service/source |
| Resizing a managed service for one cell (shown with the Orbit team) | resize-managed-service.mp4 | edit | resize-managed-service/source |
All eight videos can be regenerated with tools/build_application_films.py. To edit or re-export a video, see Editing and re-exporting.
How an application change moves today
flowchart LR
REL["Release tooling"] -->|"writes the pin"| R0["ring-0<br/>QA cell"]
R0 -->|"promotion:<br/>copy the versions file"| G1{"gate"}
G1 --> R1["ring-1<br/>first user cohorts"]
R1 -->|"promotion"| G2{"gate"}
G2 --> R2["ring-2<br/>general production"]
Q["quarantine<br/>parked cells"]
- A ring pins every chart version.
rings/<ring>/versions/<service>.yamlholds the chart repository, name, version and namespace. A cell never sets a chart version; its ring does. - ring-0 first. Release tooling writes new versions into ring-0, which holds only the QA cell.
- Promotion is a file copy. Moving a version from ring N to ring N+1 copies
versions/<service>.yamland nothing else, so a promotion MR’s diff is one version line per service. Only the promoter writes to rings markedpromotion.automated: true. - Cells pick it up on their own. Each cell’s Argo CD reconciles from phaleron-config: an ApplicationSet creates one Application per versions file, and every cell in the ring picks up a new pin on its next reconcile (three minutes by default, or on a webhook).
- Values are layered. Helm renders a service with the ring’s values first and the cell’s values second; the last file wins.
- Quarantine parks a cell. Moving a cell to
rings/quarantine/takes it out of promotion until it is fixed and moved back. - The gate between rings is not decided yet. Candidates include every cell Synced and Healthy, a soak period without paging alerts, a QA pass, and a release manager’s approval. See promotion/README.md.
Runbooks to add
| Runbook | What it would show |
|---|---|
| A ring-wide configuration change | An MR to rings/<ring>/values/<service>.yaml reaching every cell in that ring on the next reconcile. |
| A cell-specific override | An MR to one cell’s values, and when a change belongs in the ring instead. |
| Quarantining a cell | A cell that keeps failing is moved to quarantine, fixed with break-glass access, and moved back. |
| The promotion gate | Once it is decided: what proves a version in ring N is safe for ring N+1, and where that signal comes from. |
Last updated on