Building
Golden Deployment Path
Reusable templates and checks for shipping services to Kubernetes.
Proven with a real service in dev.
Touches the lab at
Platform- platform engineering
- GitOps
- policy as code
- SLOs
- CI/CD design
The numbers
4 numbers
55
Offline tests passed
55 passed in the recorded run
measuredgolden-path test suite
15
Design decisions
Documented and accepted
countedgolden-path decision log
12
Operational runbooks
Four guides also
countedgolden-path runbook index
1 of 2in progress
Rollout progress
Dev reached 2026-10-30; production pending
countedgolden-path rollout tracker
01Scorecard
Every number on this page: what it claims, the result and how it was established. Open items are listed as plainly as the wins.
| Claim | Result | Basis |
|---|---|---|
| Offline tests passed55 passed in the recorded run | 55 | measuredgolden-path test suite |
| Design decisionsDocumented and accepted | 15 | countedgolden-path decision log |
| Operational runbooksFour guides also | 12 | countedgolden-path runbook index |
| Rollout progressDev reached 2026-10-30; production pending | 1 of 2in progress | countedgolden-path rollout tracker |
02Overview
Proven with a real service in dev.
Two templates cover static sites and Node services. A CLI creates the service files and checks them against the cluster's existing delivery and policy setup.
The build, scan and publish flow is reused from a working pipeline. CI scans the exact image it publishes and promotes it by digest through a GitOps commit; services run with read-only root filesystems and rolling updates. 15 decision records set the design, and an offline suite of 55 tests checks that the pieces agree: the image's user matches the pod's, probes match the listener, and every alert resolves to a published runbook.
Tested offline. Deployed to dev: on 2026-10-30 the first service, a real static site, went through the whole path, and a test critical alert arrived as a page. Production pending: promotion is manual by design and still open, as are the status-board alert drill and dev validation.
03Architecture
app CI · build once
- commitapp repo
- CI checkstests and gates
- BuildKitone image, rootless
- TrivyHIGH/CRITICAL gate
- registrytag + digest
promote by digest
- GitOps commitdev overlay: tag + digest
- GitOps checks7 checks gate deploy
- ApplicationSetone app per service env
- devauto-sync · reached 2026-10-30
- prodsame digest, human-promotedplanned
guard and observe
- Kyvernothe live policy set
- default denynetwork policy + quota
- SLO rulesavailability burn rate
- page / status boardtwo alert tiers
- runbooks12, linked from every alert
The bytes that were scanned are the bytes that run: promotion moves a digest, never a rebuild
04Highlights
Each claim, with the figure that backs it. Pick one to read it.
Claim 01 / 06
Reused delivery pipeline
The build, scan, publish and GitOps-commit flow comes from a pipeline already in use. Where the golden path differs (digest pins, read-only roots, rolling updates), the reason is written into a decision record.
Backed by the write-up above
05Stack
Scaffold & verify
- Node.jszero dependencies
Bash
Build & publish
Forgejo Actions
- BuildKitrootless
TrivyHIGH/CRITICAL gate
Deploy
- Kustomize
Argo CDApplicationSet
k3s
ingress-nginx
Guard
Kyverno
- Sealed Secrets
Observe
PrometheusSLO burn rules
Grafana
- Alertmanager