Skip to content

Building

Golden Deployment Path

Reusable templates and checks for shipping services to Kubernetes.

The case in one sentence
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

  1. 55

    Offline tests passed

    55 passed in the recorded run

    measuredgolden-path test suite

  2. 15

    Design decisions

    Documented and accepted

    countedgolden-path decision log

  3. 12

    Operational runbooks

    Four guides also

    countedgolden-path runbook index

  4. 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.

Golden Deployment Path: scorecard
ClaimResultBasis
Offline tests passed55 passed in the recorded run55measuredgolden-path test suite
Design decisionsDocumented and accepted15countedgolden-path decision log
Operational runbooksFour guides also12countedgolden-path runbook index
Rollout progressDev reached 2026-10-30; production pending1 of 2in progresscountedgolden-path rollout tracker

02Overview

Proven with a real service in dev.
In one sentence

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

  1. commitapp repo
  2. CI checkstests and gates
  3. BuildKitone image, rootless
  4. TrivyHIGH/CRITICAL gate
  5. registrytag + digest

promote by digest

  1. GitOps commitdev overlay: tag + digest
  2. GitOps checks7 checks gate deploy
  3. ApplicationSetone app per service env
  4. devauto-sync · reached 2026-10-30
  5. 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