#20 10 pages

Platform Engineering

Platform Engineering is the discipline of designing and building internal developer platforms (IDPs) that reduce cognitive load for software teams. Where traditional DevOps focuses on bridging the dev-ops divide through culture and shared tooling, Platform Engineering treats the platform itself as a product — built by a dedicated team, consumed by stream-aligned teams.

0/0 checks

1. What Is Platform Engineering?

Platform Engineering emerged from the recognition that DevOps, taken to its logical extreme, asks every developer to become an expert in Kubernetes, Terraform, CI/CD, observability, secrets management, and network policy. That is an unreasonable cognitive burden. Platform Engineering solves this by building a golden path — a pre-paved, opinionated route from code to production that a developer can follow without needing to understand every component under the hood.

graph TD
    classDef platform fill:#4f8cff,stroke:#2563eb,color:#fff
    classDef stream fill:#34d399,stroke:#059669,color:#fff
    classDef outcome fill:#a78bfa,stroke:#7c3aed,color:#fff

    P["Platform Engineering Team<br/>builds & operates the IDP"]:::platform
    S1["Stream-aligned Team A<br/>payments service"]:::stream
    S2["Stream-aligned Team B<br/>notifications service"]:::stream
    S3["Stream-aligned Team C<br/>ML pipeline"]:::stream
    O["Outcomes:<br/>fast delivery · low cognitive load · consistent compliance"]:::outcome

    P -->|"golden paths, self-service"| S1
    P -->|"golden paths, self-service"| S2
    P -->|"golden paths, self-service"| S3
    S1 --> O
    S2 --> O
    S3 --> O

Platform vs DevOps vs SRE in one sentence each:

  • DevOps: culture and practices that remove the wall between development and operations.
  • SRE: applying software engineering to operations problems — SLOs, error budgets, toil reduction.
  • Platform Engineering: building an internal product (the IDP) that lets developers self-serve infrastructure without needing operational expertise.

The three are complementary, not competing. SRE teams often consume the platform. DevOps culture is what makes platform teams listen to their users.

A developer can deploy a new microservice to production in one hour, but first needs to file a Jira ticket for a Kubernetes namespace, another for DNS, and another for TLS certs. Is this DevOps, SRE, or a Platform Engineering problem?


2. CNCF Platform Maturity Model

The CNCF defines five levels of platform capability maturity:

Level Name What it means
1 Provisional Platforms built ad hoc — each team has its own scripts
2 Operational Consistent automation exists; manual approvals still gate most changes
3 Scalable Self-service workflows; the platform team is no longer in the critical path
4 Optimizing The platform is measured with DX and DORA metrics; feedback loops exist
5 Sustainable Platform is a product with a roadmap, SLOs, and an internal customer council

Most organizations that have adopted Kubernetes sit at Level 2–3. Level 4 is where Platform Engineering starts to visibly accelerate engineering velocity.

At CNCF Level 3, developers can provision namespaces without filing a ticket. But the platform team still decides which tools developers can use. At which level would you expect to see an *internal customer council* shaping platform priorities?


3. Team Topologies

Matthew Skelton and Manuel Pais's Team Topologies framework maps neatly onto Platform Engineering. There are four team types:

  • Stream-aligned team: owns a feature or business domain end to end (the main building block).
  • Platform team: provides self-service capabilities to stream-aligned teams. Reduces their cognitive load.
  • Enabling team: short-lived; helps stream-aligned teams acquire new skills (e.g., migrating to a new observability stack).
  • Complicated subsystem team: owns a component too complex for a stream-aligned team to own (e.g., an ML inference engine).

The interaction modes between teams matter as much as team types:

  • X-as-a-service (low bandwidth): the platform team exposes an API or CLI; stream teams consume it.
  • Collaboration (high bandwidth): two teams co-design something temporarily, then revert to X-as-a-service.
  • Facilitating (enabling team mode): an enabling team coaches a stream team, then steps back.

Platform Engineering optimizes for the X-as-a-service interaction between the platform team and stream teams — the narrower the required interaction, the more cognitive load has been successfully abstracted.

A platform team is spending 40% of its time in ad hoc Slack threads answering questions from developers about how to configure Kubernetes resource limits. According to Team Topologies, which interaction mode is this, and is it desirable for a mature platform team?


4. The Internal Developer Platform

An IDP is not a single product — it is the sum of all the capabilities your platform team exposes. Typical capabilities:

graph LR
    classDef cap fill:#101820,stroke:#1f2e38,color:#d8eef2

    IDP["Internal Developer Platform"]
    IDP --> SC["Service Catalog<br/>(Backstage)"]:::cap
    IDP --> SS["Self-Service<br/>(scaffolder, Crossplane claims)"]:::cap
    IDP --> SE["Secret & Config Mgmt<br/>(Vault, ESO)"]:::cap
    IDP --> OBS["Observability<br/>(Prometheus, Grafana, Loki)"]:::cap
    IDP --> CI["CI/CD<br/>(GitHub Actions + ArgoCD)"]:::cap
    IDP --> COST["Cost Attribution<br/>(Kubecost / OpenCost)"]:::cap
    IDP --> MT["Multi-tenancy<br/>(namespaces, Capsule, vcluster)"]:::cap
    IDP --> WA["Workflow Automation<br/>(n8n, Temporal, Argo Workflows, Kestra)"]:::cap
    IDP --> AI["AI SRE Agents<br/>(k8sgpt, Robusta, OpenSRE, Coroot)"]:::cap

Key insight: the IDP is only as good as its developer experience (DX). DX means:

  • Time from git push to a running production pod, with no manual steps.
  • Time to onboard a new developer who has never used your stack.
  • Number of Slack messages a developer needs to send to provision an environment.

DX is measured, not assumed. DORA metrics and the SPACE framework (covered in idp-concepts.md) give you the instruments.

A platform team builds a beautiful self-service portal. Three months later, developers are still opening tickets instead of using it. What is the most likely platform engineering failure here?


5. Read Order

graph LR
    A["README<br/>overview + maturity model"]
    B["idp-concepts<br/>golden paths, DORA, SPACE"]
    C["backstage<br/>service catalog + TechDocs"]
    D["crossplane<br/>K8s-native IaC"]
    E["developer-self-service<br/>ApplicationSets, PR envs"]
    F["multi-tenancy<br/>vcluster, Capsule, HNC"]
    G["platform-observability<br/>DORA metrics pipeline"]
    H["cost-attribution<br/>Kubecost, OpenCost, FinOps"]
    I["workflow-automation<br/>n8n, Temporal"]
    J["ai-sre-agents<br/>k8sgpt, Robusta, OpenSRE"]
    K["feature-flags<br/>OpenFeature, LaunchDarkly, Unleash"]

    A --> B --> C --> D --> E --> F --> G --> H --> I --> J --> K

Prerequisites: Kubernetes (workloads, RBAC, networking, custom resources), CI/CD (ArgoCD, GitOps model), IaC (Terraform at minimum).

Why is Kubernetes a prerequisite for Platform Engineering rather than a component you learn inside it?

Pages in this section

1
IDP Concepts: Golden Paths, DORA, and Developer Experience
The Internal Developer Platform is not a tool — it is a set of capabilities that abstracts away infrastructure complexity. This page covers the conceptual found
2
Backstage: Service Catalog and Developer Portal
Backstage is an open-source developer portal originally built by Spotify and donated to the CNCF. It solves the "where is everything?" problem: a single place t
3
Crossplane: Kubernetes-Native Infrastructure
Crossplane turns Kubernetes into a universal control plane for infrastructure. Instead of running Terraform pipelines to provision a Cloud SQL instance, a devel
4
Developer Self-Service: Namespaces, PR Environments, and GitOps Scaffolding
Self-service is the operational expression of the golden path. A developer should be able to go from "I need a new service" to "I have a working CI pipeline, a
5
Kubernetes Multi-Tenancy: vcluster, Capsule, and HNC
A single Kubernetes cluster shared by multiple teams is cheaper to operate than N separate clusters, but sharing introduces isolation challenges: one team's noi
6
Platform Observability: DORA Metrics and Engineering Effectiveness
Observability for a platform team is different from service observability. It's not about latency histograms and error rates for the platform's own APIs (though
7
Cost Attribution: Kubecost, OpenCost, and FinOps in Kubernetes
Cloud costs in Kubernetes clusters are invisible by default. A shared cluster with 20 teams running 500 services appears as a single line item in GCP/AWS billin
8
Workflow Automation Engines
Shell scripts work for one-off tasks. They break as platforms grow: no retry logic, no visibility into what ran and when, no audit log, and they're hard to trig
9
AI SRE Agents
Traditional automation — Ansible playbooks, shell scripts triggered by alerts — is static: the remediation logic is pre-written and only works for anticipated f
10
Feature Flags
Feature flags decouple deploy from release. Code ships to production disabled; a flag enables it for specific users — without another deploy. This gives you the