Build an Internal Developer Platform — Backstage, Golden Paths & Crossplane›Foundations · Cheat sheet & self-check

Foundations · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

01 · What an internal developer platform is

Questions to ask before building

Where do developers wait?Tickets for repos, namespaces, DNS, databases, access
What do they copy?Pipelines, Dockerfiles, manifests copied from another team
What breaks most in production?Missing probes, limits, alerts: candidates for defaults
What must every service prove?Signed images, owner, on-call, audit trail: build it into the path

02 · Lab: hub and workload clusters on kind

Lab housekeeping

kind get clustershub, wl-1, wl-2
kind get kubeconfig --name wl-1 --internalKubeconfig using container DNS (what the hub must use)
kubectl -n argocd get secret -l argocd.argoproj.io/secret-type=cluster --show-labelsRegistered clusters and their labels
argocd login localhost:8080 --plaintext --username admin --password <pw>Argo CD CLI against the lab (no TLS)
argocd cluster listClusters Argo CD can deploy to
docker stop hub-control-plane wl-1-control-plane wl-2-control-planePause the lab without losing state

03 · Backstage architecture

Working with a Backstage app

npx @backstage/create-app@latestCreate a new Backstage app
yarn startRun frontend (:3000) and backend (:7007) locally
yarn --cwd packages/backend add <plugin-package>Add a backend plugin or module
yarn backstage-cli versions:bumpUpgrade all Backstage packages to the latest release
yarn build:backend && yarn build-imageBuild the backend and a container image
curl localhost:7007/.backstage/health/v1/readinessBackend readiness