A SpaceX ground container on latest changes during a live pass
The scenario
A ground container is tagged latest. During a live satellite pass the node pulls a new latest and the pointing build changes under the running pass. The pass record breaks. Someone wants latest left in place so the site always runs new fixes.
Model answer
What I'd say first:
A SpaceX ground container moved because latest changed during a pass. I would pin the image that was recording. I would not keep floating on latest.
How I'd work it:
- 1Note the image digest that was running and the digest that got pulled. Put the node back on the digest that was recording, if that one was good.
- 2Confirm the pass can be recorded again on that pinned digest. Do not pull again during this pass.
- 3Change the spec so the next start uses a digest, not the tag latest. A new fix is a reviewed digest rolled after the pass, on an idle gateway first.
- 4Tell the room latest is not a version. The platform owner stays until the pin is in place and this pass is recording on a known digest.
How I'd explain it:
The tag latest moves whenever someone publishes. A node that pulls during a pass replaces the pointing build with whatever was published, reviewed or not. A digest is a specific build. That is what a pass should be running.
How I'd prevent it:
Admission rejects the tag latest on ground workloads. Deploys during a pass are refused. A new digest rolls to an idle gateway and earns a full pass before the rest of the sites move.
The follow-up they'll ask
“Can we keep the latest tag so the site always gets fixes?”
No. I would not keep the latest tag. It moved during a live pass and changed the pointing build under the recording. I pin the digest that was working, I finish the pass on that digest, and I ship a newer fix later as a reviewed digest on an idle gateway first. Always-new is how an unreviewed image becomes the one that is tracking the satellite.
Common mistakes
- Keep the latest tag
- Pull a new image during the pass
- Roll a new digest to the live gateway first