Learning Hub / Kubernetes & Platform / Build an Internal Developer Platform — Backstage, Golden Paths & Crossplane
Self-service with guard-rails · wrap-up
Cheat sheet & self-check
Every command from this section on one page.
07 · Self-service onboarding
Check what was generated
kubectl get networkpolicy,resourcequota,limitrange,rolebinding -n <team-ns> | The objects the platform guarantees |
kubectl get clusterpolicy | Installed Kyverno policies and their readiness |
kubectl get updaterequests -n kyverno | Pending or failed generate requests |
kubectl delete networkpolicy team-default-deny -n <team-ns> && sleep 5 && kubectl get networkpolicy -n <team-ns> | Drift test: it should come back |
08 · Platform APIs with Crossplane
Inspect Crossplane
kubectl get xrd | Platform APIs and whether they are established |
kubectl get composition -L provider | Implementations, labelled by backend |
kubectl get databases -A | Requests made by teams (composite resources) |
crossplane beta trace database orders -n team-shop | Everything one request created, with readiness (newer CLIs: crossplane resource trace) |
kubectl get managed | All cloud resources Crossplane manages |
kubectl annotate database orders -n team-shop crossplane.io/paused=true | Pause reconciliation (break-glass) |