Markdown Editor

Platform Golden Path Specification Template

Golden path spec: target users, stack, scaffolding, CI/CD, environments, observability and security defaults, Backstage catalog

ArchitectureFullCNCF Platforms White Paper v1.0; CNCF Platform Engineering Maturity Model v1.0; Backstage catalog descriptorCC BY 4.0platformgoldenpath

How to use: Use it when a platform team offers a supported route for one kind of service. Define target users, scope and stack first and validate them with real teams. The main pitfall is a path that is mandatory in practice but has no clear deviation process.

Preview

Platform Golden Path: [Path name]

Specification of one supported, opinionated route for building and running a type of software on the internal platform: who it is for, what it covers, the chosen stack, the scaffolding template, CI/CD, environments, observability and security defaults, service catalogue registration, support, adoption metrics and how to deviate. The CNCF Platforms White Paper (v1.0, TAG App Delivery) names golden path templates and docs as one platform capability; this document specifies one such path and places it on the CNCF Platform Engineering Maturity Model (v1.0). The catalogue example uses the Backstage catalog-info.yaml descriptor format. Replace every [bracketed] value and every row marked Example. Worked examples use a "Java HTTP service on Kubernetes" path at Corvid Commerce, a fictional SaaS company.

Document control

FieldValue
Document ID[PLT-GP-003]
Path name[Java HTTP service on Kubernetes]
Path ID[GP-003]
Version[2.1]
Status[Alpha / Beta / Generally available / Deprecated]
Owner (owning platform team)[@platform-runtime]
Product manager[@platform-pm]
Approvers / reviewers[@platform-lead], [@security-lead], [@sre-lead], [service team representative]
Last updatedYYYY-MM-DD
Classification[Internal]
Template repository[git URL @ tag]
Developer portal entry[Link]
Next reviewYYYY-MM-DD (each quarter, and at every major template release)
Related[architecture/internal-developer-platform-charter], [architecture/platform-maturity-assessment], [ops/observability-spec], [security/sbom-vex-policy]

Approvals

RoleNameDecisionDate
Platform lead[@name][Approved / Changes requested]YYYY-MM-DD
Security lead[@name][Decision]YYYY-MM-DD
SRE lead[@name][Decision]YYYY-MM-DD
Service team representative[@name][Decision]YYYY-MM-DD

Revision history

VersionDateAuthorChange
1.0 (Example)YYYY-MM-DD[@platform-pm]Path generally available with template v1.0.0
2.0 (Example)YYYY-MM-DD[@platform-pm]Image signing and provenance made a blocking gate; preview environments added
2.1 (Example)YYYY-MM-DD[@platform-pm]Redis module made optional; adoption targets reset after quarterly review

Contents

1. Target users and problem

Target users: [Example: Stream-aligned teams building synchronous HTTP services in Java that store data in PostgreSQL.]

Problem today: [Example: Creating a production-ready service takes three to five weeks: teams copy an older service, re-create pipelines, request databases by ticket and wire monitoring by hand. Security findings repeat across services.]

Promise of the path: [Example: From empty repository to a service in production with monitoring, alerting and security scanning in under one day, without tickets.]

2. Path scope

In scopeOut of scope
Example: New HTTP services and APIsBatch jobs and stream processors (see GP-005)
Example: PostgreSQL and RedisOther databases (deviation process)
Example: Deployment to [shared Kubernetes clusters]Serverless functions
Example: Internal and public APIs behind the API gatewayServices needing PCI DSS scope (use GP-007)

The flow below shows the developer journey the path covers.

3. Opinionated stack

LayerChoiceVersion policyWhy
Language and runtimeExample: Java on Eclipse TemurinCurrent LTS; upgrade within 6 months of new LTSOrganisation skill base
FrameworkExample: Spring BootSupported release lineMature, wide knowledge
BuildExample: Gradle with organisation pluginPinned in templateShared conventions
DatabaseExample: Managed PostgreSQLPlatform-managed minor upgradesDefault relational store
CacheExample: Managed RedisPlatform-managedOptional module
API contractExample: OpenAPI document in api/Linted with organisation rulesetAPI-first review
Container base imageExample: Distroless Java imageRebuilt weeklySmall attack surface
Runtime platformExample: Kubernetes via Helm chart service-baseChart version pinnedShared operations
[Layer][Choice][Policy][Reason]

4. Scaffolding template

Inputs requested: service name, owning team, tier (1 to 3), database yes or no, public or internal API, data classification.

Generated:

  • repository with application skeleton, health endpoints, sample endpoint and tests;
  • OpenAPI document and contract test setup;
  • Dockerfile, Helm values per environment, pipeline definition;
  • catalog-info.yaml, README.md, docs/ with runbook and ADR folder;
  • dashboards and alert rules as code;
  • dependency update bot configuration.

Template lifecycle: changes to the template are released with versions; existing services receive upgrade pull requests from [tool].

5. CI/CD

StageWhat runsBlockingTime budget
Build and unit testCompile, unit tests, coverage reportYes5 min
Static analysisLinting, OpenAPI lint, SASTYes on high severity3 min
Dependency and image scanSCA, container scan, licence checkYes on critical3 min
SBOM and signingSBOM generated, image signed, provenance attestedYes1 min
Deploy to devAutomatic on mainn/a5 min
Integration and contract testsAgainst devYes10 min
Promote to staging and productionAutomatic for tier 3; one approval for tier 1 and 2Yes10 min

Lead time target from merge to production: [under 60 minutes].

6. Environments

EnvironmentPurposeDataCreatedAccess
PreviewPer pull requestSyntheticAutomatically, deleted on mergeTeam
DevIntegrationSyntheticWith serviceEngineering
StagingRelease verification, load testsAnonymised copyWith serviceEngineering
ProductionLive trafficRealWith serviceOn-call and break-glass only

7. Observability defaults

  • Structured JSON logs with trace ID, shipped to [log platform], retained [30 days].
  • OpenTelemetry tracing auto-instrumented; sampling [10%] plus all errors.
  • Metrics: RED (rate, errors, duration) per endpoint, JVM and pool metrics.
  • Dashboard per service generated from template.
  • Default SLO for tier 1: availability 99.9% over 30 days, p95 latency under [300 ms]; burn-rate alerts route to the owning team.

The default error budget follows from the SLO: (1−0.999)×30×24×60≈43(1 - 0.999) \times 30 \times 24 \times 60 \approx 43 minutes per 30 days.

8. Security defaults

ControlDefault
IdentityWorkload identity per service; no long-lived credentials
SecretsPulled from [secrets manager] at runtime; none in repository or images
NetworkDeny-all network policy plus declared dependencies; mTLS in mesh
IngressThrough API gateway with OAuth 2.0 token validation
ContainerNon-root user, read-only file system, no privilege escalation
DependenciesAutomated update pull requests; critical CVEs fixed within [7 days]
DataEncryption at rest and in transit; data classification label required

9. Service catalogue registration

The scaffolding creates this descriptor at the repository root; the catalogue discovers it automatically.

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: order-history
  description: Read API for customers' past orders
  annotations:
    github.com/project-slug: example-org/order-history
    backstage.io/techdocs-ref: dir:.
  tags:
    - java
    - golden-path-gp-003
spec:
  type: service
  lifecycle: production
  owner: group:team-orders
  system: ordering
  providesApis:
    - order-history-api
  dependsOn:
    - resource:order-history-db
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
  name: order-history-api
spec:
  type: openapi
  lifecycle: production
  owner: group:team-orders
  system: ordering
  definition:
    $text: ./api/openapi.yaml

10. Support model

TopicPlatform teamService team
Template, pipeline, base chartOwns and fixesApplies upgrade pull requests within [30 days]
Cluster and managed databasesOperates, on call 24/7Uses within quotas
Application code and dataAdvisesOwns, on call
Questions#platform-help, answer within 4 working hoursn/a
Office hours[Thursday 14:00]Optional

11. Adoption metrics

MetricBaselineTargetCurrent
Time from template to first production deploy3 to 5 weeks< 1 day[Value]
Share of new services created from the path0%80%[Value]
Services on the latest template version (within 30 days)n/a90%[Value]
Developer satisfaction with the path (survey, 1 to 5)n/a>= 4.0[Value]
Repeat security findings per service per quarter6< 1[Value]
Deviation requests per quartern/aTracked; trend reviewed[Value]

12. Deviation process

CategoryExamplesWho approvesConditions
Free choiceLibraries inside the service, test frameworksNobodyMust pass pipeline gates
Recommended defaultDatabase engine, frameworkTeam lead, recorded in ADRTeam accepts extra support responsibility
Enforced guardrailSecrets handling, image signing, network policySecurity lead and platform leadTime-limited exception with compensating control

Deviation requests are filed in [platform intake] and reviewed weekly. Each approved deviation is recorded below and considered for the path roadmap.

IDServiceDeviationReasonApproved byExpires
DEV-01Example: search-indexerUses OpenSearch instead of PostgreSQLFull-text relevance needs@team-lead (ADR-019)n/a
[DEV-NN][Service][Deviation][Reason][@name]YYYY-MM-DD

13. Platform capability and maturity fit

The CNCF Platforms White Paper treats golden path templates and docs as one of the platform's capability domains. A path bundles other capabilities behind one entry point. Record which ones this path uses and how users reach them.

Platform capability used (Example)Provided byInterface in this path
Golden path templates and docsPlatform teamPortal template "Java HTTP service" (section 4)
Web portals for provisioning and observing capabilitiesPlatform teamDeveloper portal entry and catalogue (section 9)
Automation for building and testing productsPlatform teamPipeline build, test and scan stages (section 5)
Automation for delivering and verifying servicesPlatform teamDeploy and promotion stages (section 5)
Development environmentsPlatform teamPreview environment per pull request (section 6)
Application observabilityPlatform teamAuto-instrumentation and dashboards as code (section 7)
Infrastructure servicesPlatform teamShared Kubernetes clusters via the service-base chart
Data servicesPlatform team, managed cloud servicesManaged PostgreSQL and Redis modules, declared without tickets
Identity and secret servicesSecurity platformWorkload identity and secrets manager (section 8)
Artifact storagePlatform teamContainer registry for signed images (section 5)

Capability names follow the white paper as published; check the current version before relying on them.

The CNCF Platform Engineering Maturity Model (v1.0) describes five aspects (investment, adoption, interfaces, operations and measurement) across four levels: Provisional, Operationalized, Scalable and Optimizing. Use it to state what this path contributes, not to rate the whole platform (use architecture/platform-maturity-assessment for that).

AspectLevel this path supports (Example)Evidence
InterfacesScalable: self-service through the portal, no ticketsSection 4 inputs; zero intake tickets for new services last quarter
AdoptionIntrinsic pull is the goal; currently mixedSection 11: share of new services on the path
OperationsCentrally enabled: platform operates clusters and data servicesSection 10 support split
MeasurementConsistent collectionSection 11 metrics reported each quarter
InvestmentDedicated teamOwning team named in Document control

14. References

ReferenceVersion or dateUsed for
CNCF TAG App Delivery, Platforms White Paper, https://tag-app-delivery.cncf.io/whitepapers/platforms/v1.0, checked 2026-10-29Capability domains, golden path concept (section 13)
CNCF TAG App Delivery, Platform Engineering Maturity Model, https://tag-app-delivery.cncf.io/whitepapers/platform-eng-maturity-model/v1.0, checked 2026-10-29Aspects and levels (section 13)
Backstage software catalog descriptor format, https://backstage.io/docs/features/software-catalog/descriptor-format/backstage.io/v1alpha1, checked 2026-10-29Section 9 descriptor
OpenTelemetry, https://opentelemetry.io/docs/Current releaseSection 7 tracing
[Template repository changelog][Tag]Sections 3 to 9

Related templates in this collection: architecture/internal-developer-platform-charter (platform charter), architecture/platform-maturity-assessment (whole-platform assessment), ops/observability-spec, ops/kubernetes-cluster-design, ops/iac-module-specification, ops/error-budget-policy, security/sbom-vex-policy, dev/developer-experience-survey and dev/adr.

Standard and licence note

Based on common platform engineering practice for golden paths (also called paved roads). Section 13 refers to the Platforms White Paper (v1.0) and the Platform Engineering Maturity Model (v1.0) of the CNCF Technical Advisory Group for App Delivery, https://tag-app-delivery.cncf.io/, © The CNCF Authors, licensed under Creative Commons Attribution 4.0 International (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/); capability, aspect and level names are used with attribution and all descriptions and examples are original. The catalogue descriptor example follows the Backstage software catalog descriptor format (backstage.io/v1alpha1, kinds Component and API) as documented at https://backstage.io; Backstage is a CNCF project and no documentation text is reproduced. Corvid Commerce is fictional. Check the current official versions before use. All other text and examples are original to this collection. Template licence: MIT.

Related templates