/idp-skills:complete-idp-deployment-on-kubernetes-from-scratchfrom idp-skills
Sequences a cloud-agnostic Internal Developer Platform deployment on any CNCF-conformant Kubernetes cluster: cluster validation, add-ons, Helm-deployed Backstage with in-cluster PostgreSQL, golden-path templates, and self-service scaffolder actions using Kubernetes/Crossplane APIs.
Ships in idp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The four cloud-specific IDP deployment skills in this repo (AWS, Azure, GCP, OCI) each wire self-service provisioning directly to one cloud's IAM and managed-database APIs. This skill is the deliberately different baseline: a platform team that runs on multiple clouds, wants portability, or simply doesn't want its self-service layer's core logic to assume a specific cloud provider needs a version where the cluster is "any CNCF-conformant Kubernetes" (managed, self-managed, or on the way to being either) and every provisioning action targets the Kubernetes API itself — Namespaces, ResourceQuotas, and Crossplane Claims — rather than a cloud SDK call. This is not a lowest-common-denominator compromise dressed up as "portable"; it's a real architectural choice with a real cost (no cloud-native IAM-scoped identity federation, no managed-database SLA) that this skill states plainly rather than glossing over.
kubectl, helm ≥ 3.8, and Sonobuoy for the Phase 1 conformance check.StorageClass already available on the cluster
(block storage of some kind — Longhorn, Rook-Ceph, or the cluster's own
CSI driver if managed) before Phase 3, since the catalog database here
is an in-cluster StatefulSet, not a cloud-managed instance.Phase 1 — Get a conformant cluster and prove it. Whichever path
produced the cluster — a managed offering per
managed-kubernetes-eks-aks-gke
or a self-managed one per
kubernetes-cluster-provisioning-with-kubeadm-and-cluster-api
— run Sonobuoy conformance (quick mode, then
certified-conformance) plus the targeted smoke tests (Service DNS,
cross-node connectivity, PVC provisioning) before treating the cluster as
a platform-hosting target, per
kubernetes-cluster-post-provision-conformance-validation.
This phase is unique to the portable variant — the cloud-specific skills
inherit a managed control plane's own conformance guarantee, but a design
goal here is "any conformant cluster," so verify that guarantee explicitly
rather than assuming it.
Phase 2 — Cluster add-ons: ingress, TLS, storage. Install
ingress-nginx for host/path routing to Backstage (and to every service the
golden path later scaffolds), per
ingress-nginx-configuration;
install cert-manager for automated TLS issuance (ACME DNS-01 if there's no
single cloud LB to terminate at, or a private CA for internal-only
platforms), per
cert-manager-tls-automation;
and confirm a StorageClass backed by either Longhorn (simpler, block-only)
or Rook-Ceph (block + object + shared filesystem) is available for Phase
3's catalog database PVC, per
longhorn-storage-configuration
or
rook-ceph-storage-operations.
None of this is needed in the cloud-specific variants, which lean on the
cloud's own load balancer, ACM/managed-cert service, and managed database
— this phase exists specifically because this variant deliberately avoids
those.
Phase 3 — Backstage on the cluster, backed by in-cluster PostgreSQL. Package Backstage as a Helm chart and deploy it against a PostgreSQL instance running as a StatefulSet inside the same cluster (or a CloudNativePG-style operator-managed instance, still in-cluster) rather than any cloud-managed database service — this is the phase where the "cloud-agnostic" design goal is most concrete: the catalog database's availability model is now the platform team's own responsibility (backup schedule, failover), not inherited from a managed service's SLA. Chart packaging follows helm-chart-authoring; custom backend/frontend logic follows backstage-plugin-development. Credentials come from a Kubernetes Secret populated by whatever generic secrets tooling the org already runs (External Secrets Operator against any backend, or a sealed-secrets pattern) — not a cloud-specific credential-fetch call, since that would reintroduce the cloud coupling this variant exists to avoid.
Phase 4 — Golden-path template design. Author the first golden-path
template producing a Dockerfile, a CI workflow using a portable
build/push flow (any OCI-compliant registry, not a specific cloud's
container registry), and catalog registration — deliberately no
cloud-specific identity annotation on the scaffolded ServiceAccount,
since one doesn't exist in this model. Tier by complexity. See
golden-path-template-design-for-developer-platforms.
Phase 5 — Validate the golden path end-to-end. Run the Phase 4 template through a pipeline that scaffolds a real instance, builds, deploys to an ephemeral namespace on the same conformant cluster, smoke- tests, and tears everything down on both success and failure, before publishing it as the org default. See golden-path-template-validation-and-testing.
Phase 6 — Self-service scaffolder actions calling generic Kubernetes
APIs. This is the phase that most distinguishes this variant from the
four cloud-specific ones. Build Scaffolder custom actions that provision
by calling the Kubernetes API server directly — creating a Namespace with
a bound ResourceQuota and NetworkPolicy for a new service, or, for
anything resembling infrastructure (a database, a message queue), creating
a Crossplane Claim against a CompositeResourceDefinition the platform
team has already defined, rather than calling any cloud SDK from inside
the action. State the honest limitation directly to requesting teams: a
Crossplane Claim still ultimately provisions cloud infrastructure through
whichever Provider is installed, so "cloud-agnostic" here means the
Scaffolder action's own code has no cloud-specific branching — the
underlying Composition can still target a specific cloud, or even multiple
clouds behind the same Claim shape. Model the request as the same explicit
state machine as the cloud-specific variants
(requested → policy_checked → pending_approval → approved → provisioning → completed), keep policy/budget rules external, and gate
anything provisioning real infrastructure behind approval. See
platform-self-service-api-and-workflow-design
for the state-machine and policy-gate pattern, and
crossplane-kubernetes-native-provisioning
for the Claim/Composition/XRD mechanics this phase relies on.
Phase 7 — Multi-tenancy. Namespace-per-team is the default and usually the only real option in this variant (there's no cloud-specific "dedicated account/subscription/project per team" escape hatch to lean on instead), so get RBAC, quotas, and NetworkPolicy-based isolation right before onboarding a second team. See multi-tenancy-and-team-workspace-design-for-idp.
Phase 8 — Scorecards. Define checks that stay cloud-agnostic by construction: does the service have a NetworkPolicy, a PodDisruptionBudget, resource requests/limits set, and (if it uses Phase 6's Crossplane path) a Claim rather than an inline cloud SDK call embedded in application code. See service-scorecards-and-maturity-model-design.
Phase 9 — Rollout, operating model, and measurement. Sequence adoption starting from a pilot team with genuine current pain, run the platform team per the "thinnest viable platform" discipline, and measure with SPACE/DX Core 4 metrics. See idp-adoption-rollout-and-change-management-strategy, platform-engineering-team-topology-and-operating-model, and developer-experience-measurement-and-platform-adoption.
pg_dump to object storage) and
test a restore before Phase 4 goes live, since nothing does this for you
here.Symptom: A Phase 6 Crossplane Claim gets stuck in SYNCED: False
indefinitely, and the requesting developer has no idea why.
Fix: This is usually a missing or misconfigured Provider credential
behind the Composition, not a problem with the Claim itself — check the
Provider's own status/events, per
crossplane-kubernetes-native-provisioning,
before assuming the Scaffolder action's request shape is wrong.
Symptom: The platform "works" in every test but the first real multi-team onboarding immediately causes one team's noisy workload to starve another's, something the cloud-specific variants' account/ subscription/project boundaries would have prevented by default. Fix: This variant has no cloud-account-level isolation to fall back on — Phase 7's namespace ResourceQuotas and NetworkPolicies are load- bearing, not optional hardening. Confirm they're actually enforced (not just defined) before onboarding a second team, not after the first incident.
Symptom: After a cluster upgrade, several previously-working Scaffolder-provisioned Namespaces lose their NetworkPolicy enforcement, and cross-team traffic that should be blocked isn't. Fix: The CNI's NetworkPolicy support (or a specific CNI upgrade) is the likely cause — re-run Phase 1's conformance and smoke-test suite after every infrastructure change, since this variant's isolation model depends entirely on the CNI enforcing policy correctly, unlike a cloud's VPC-level isolation as a backstop.
Symptom: The in-cluster Postgres catalog database (Phase 3) runs out
of disk and Backstage goes fully read-only with no warning beforehand.
Fix: There's no cloud-managed storage-autoscaling safety net in this
variant; set up a PVC usage alert well below capacity and a documented
volume-expansion runbook (kubectl edit pvc with a CSI driver that
supports online expansion) before this becomes a production incident,
not after.
Symptom: Someone runs kubectl delete namespace <team-namespace>
to "reset" a team's environment, and it silently deletes every
Crossplane Claim in that namespace along with the real infrastructure
those Claims provisioned.
Fix: This is destructive and, depending on the Composition's
reclaim policy, can delete real cloud resources behind the Claims, not
just Kubernetes objects. Never delete a tenant namespace as a routine
reset; first list every Claim in it (kubectl get claims -n <namespace>) and confirm each Composition's spec.compositeDeletePolicy
and reclaim behavior, or explicitly orphan the underlying resources
first if they must be preserved.
Scenario: "Ferrovia Labs" runs workloads split across two clouds and wants the platform's self-service layer to have zero cloud-specific code, even though the underlying infrastructure it provisions is still real cloud infrastructure.
platform-shared passes
Sonobuoy certified-conformance and the DNS/cross-node/PVC smoke
tests.rook-ceph-block StorageClass.charts/backstage-ferrovia,
deployed against an in-cluster Postgres StatefulSet
backstage-catalog-db on a 100Gi rook-ceph-block PVC, with a nightly
pg_dump CronJob backing up to object storage.ephemeral-validation namespace, smoke-tests, and tears down.custom:k8s:provisionDatabase creates
a Crossplane Claim of kind PostgreSQLInstance; the Composition
behind it happens to target whichever cloud that team's workloads
already run in, decided once by the platform team, not by the action.ResourceQuota and a default-deny NetworkPolicy.NetworkPolicy, a
PodDisruptionBudget, and resource limits on every scaffolded service.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/backstage-plugin-developmentGuides authoring a custom Backstage plugin — scaffolding a frontend or backend plugin package with `yarn new`, wiring a frontend API client via `createApiRef`, building a backend plugin on the new backend system (`createBackendPlugin`), and registering either into the app's routes or an entity page tab. Use when a user asks to "write a custom Backstage plugin," "add a backend plugin to Backstage," "build a Backstage frontend component that talks to a new API," or "create a Backstage plugin that surfaces X" — this goes beyond catalog/TechDocs/template configuration.
/complete-idp-deployment-on-aws-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on AWS: landing zone → EKS cluster → Helm-deployed Backstage backed by RDS PostgreSQL → golden-path scaffolding template → self-service API wired to AWS provisioning (IRSA roles, RDS instances) → scorecards. This is the integration runbook that orders the individual AWS/EKS/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on AWS from scratch," "stand up Backstage on EKS end-to-end," "build our internal developer platform on AWS," "wire self-service database/IAM provisioning into Backstage on AWS," or "sequence an AWS platform rollout from account creation to golden-path templates."
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin idp-skillsOther plugins' skills for the same job