Skip to content

Lesson 2 of 9 · 26m

Golden Paths That Developers Actually Choose

Design opinionated paths that reduce decisions, preserve escape hatches, and make the easiest production route also the safest one.

A golden path is not a mandatory pipeline wearing a friendly name. It is a supported, opinionated way to complete a common job where the correct defaults are already assembled. Developers choose it because it removes decisions and waiting, not because a wiki says they should. If your golden path needs a compliance committee to force adoption, the product is telling you something.

A golden path is a promise about a workflow

Write paths as jobs with boundaries:

golden path: stateless HTTP service
includes: repo template, CI, container image, deploy config, TLS,
          logs, metrics, tracing, alerting baseline, ownership metadata
excludes: stateful services, custom networking, non-standard runtimes
support:  same-day help, upgrade automation, documented escape hatch

This is stronger than "use Kubernetes." It describes the shape of workload you will make excellent and the shape you intentionally will not hide behind vague flexibility.

Remove decisions, not agency

A good template answers forty small questions before the developer knows to ask them:

runtime base image           distroless or organization-maintained image
ports                        one service port, one metrics port
health checks                /healthz for liveness, /readyz for readiness
logging                      JSON to stdout with trace correlation fields
configuration                environment-specific config outside the image
secrets                      external secret references, never committed values
deployment                   progressive rollout with automatic rollback
ownership                    team, service tier, runbook, cost center

Agency survives through extension points. Developers can add dependencies, tune resources, expose additional endpoints, or opt out with responsibility. What they should not do is re-decide the organization's logging format for the nineteenth time.

Make the escape hatch explicit

No platform survives contact with every real workload. Treat exceptions as first-class:

# service.yaml
apiVersion: platform.example/v1
kind: Service
metadata:
  name: payments-api
spec:
  template: stateless-http
  tier: critical
  owner: payments-team
  extensions:
    resources:
      cpu: "750m"
      memory: 1Gi
    ingress:
      rateLimit: 200rps

When the workload outgrows the template, the path should explain how to fork responsibly: what support changes, which guarantees disappear, and what must remain true for security and operability.

The path must age gracefully

Templates rot. Runtimes patch, base images change, deployment controllers move, and policy rules tighten. A golden path is a maintained dependency, not a one-time scaffold. You need an upgrade mechanism:

platform template diff payments-api --to stateless-http/v7
platform template upgrade payments-api --to stateless-http/v7 --dry-run
platform template upgrade payments-api --to stateless-http/v7

If the upgrade path is "regenerate the repo and manually compare," teams will pin version one forever. Your security team will eventually discover this at the least convenient possible moment.

Measure choice, not compliance

Track how often eligible teams start with the path, how long bootstrap takes, where they customize, and where they abandon it. Repeated customization is demand for a new supported option. Repeated abandonment is product feedback. A path that is chosen because it is fastest and safest can still be strict; a path that is merely enforced becomes bureaucracy.

Field notes

  • The fastest way to ruin a golden path is to turn every internal preference into a required field.
  • Copy-paste templates hide versioning problems; scaffold once, but keep a machine-readable link to the template version.
  • Escape hatches need owners. "Custom" without ownership becomes an unmanned operations burden.
  • Golden paths do not eliminate expertise. They concentrate expertise where it can be reused.

Was this lesson helpful?

Sign in to rate