Runbook: Linkerd Progressive Delivery Operations (Advanced)
Purpose
Operate canary and A/B rollouts with objective safety gates.
Pre-Rollout Checklist
- Linkerd control plane healthy (
linkerd check). - Target workload meshed and observable.
- Abort thresholds defined and approved.
- Rollback action documented and tested.
Canary Operation Flow
- Start canary at low traffic weight.
- Evaluate window metrics (success rate, latency, error rate).
- Promote only if all thresholds pass.
- Abort automatically or manually on threshold breach.
- Record decision with evidence.
A/B Operation Flow
- Define experiment hypothesis and metric target.
- Apply bounded route split (header/cookie/segment).
- Run for fixed window.
- Compare cohorts and decide keep/revert.
- Remove temporary routing rules after decision.
Commands (Examples)
linkerd check
linkerd -n develop stat deploy
linkerd -n develop routes deploy/<app-name>
kubectl -n develop get canary
kubectl -n develop describe canary <app-name>
Failure Modes
- Metric noise causes false abort:
- increase observation window; validate baseline first
- Canary stuck:
- inspect controller events and policy spec; rollback if uncertain
- A/B drift:
- ensure route selectors are explicit and temporary rules are removed