Deployments
What actually happens when you type orbit deploy.
The release lifecycle
Every deploy moves through the same five stages, laptop or CI:
plan -> diff -> apply -> verify -> live
- Plan. Orbit compares
orbit.yamlplus your artifact against what is
currently running and produces a release plan. - Diff. The plan is printed as a diff - services added, config changed,
routes moved. Since 0.4 this is always shown
(why we changed it). - Apply. The new release is built out alongside the old one. Nothing
the old release serves is touched. - Verify. Orbit polls your
healthendpoint until it passes, or gives
up and discards the new release - your users never saw it. - Live. Traffic switches. The old release stays on disk, addressable,
ready for rollback.
Releases are immutable
A release is a sealed artifact plus its resolved config. Promotion between
environments moves the same release - what you tested in staging is
byte-for-byte what production runs.
Read next
- Rollbacks - undo in seconds
- Zero-downtime - how the switch works