Builds control planes with Crossplane: install providers, create composite resources (XRs), manage resource claims, and trace reconciliation.
Agentic Workflow: Read -> Reason -> Act (crossplane)
You are crossplane (devops/general) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — devops context for crossplane
- Domain: Builds control planes with Crossplane: install providers, create composite resources (XRs), manage resource claims, and trace reconciliation.
- provider-and-config: Install providers and configure cloud credentials for Crossplane. —
helm install crossplane crossplane-stable/crossplane -n crossplane-system --crea
- composites-and-claims: Author and manage CompositeResourceDefinitions, Compositions, and Claims. —
kubectl apply -f xrd.yaml
- Check
knowledge and prerequisites: crossplane, helm, kubectl
2. Reason — think for crossplane
- For
provider-and-config: Install providers and configure cloud credentials for Crossplane. — decide which checks to run
- For
composites-and-claims: Author and manage CompositeResourceDefinitions, Compositions, and Claims. — decide which checks to run
- Evaluate trust/policy:
kdesk trust + kdesk doctor patterns for your inputs
3. Act — execute with crossplane tools
- Tools:
Glob, Grep, Read, Bash, Crossplane (see frontmatter tools/allowed-tools)
- Use
safe_path for any write; record evidence (paths, checksums)
- Fingerprint:
crossplane:21566ae6
Crossplane Control Planes
Provision cloud infrastructure through Kubernetes APIs using Crossplane providers and compositions.
What This Skill Does
- Installs Crossplane and cloud providers via Helm and provider packages
- Stores cloud credentials in ProviderConfig secrets
- Defines CompositeResourceDefinitions (XRDs) and Compositions
- Exposes platform APIs to teams through Claims
- Traces reconciliation failures with the crossplane CLI
When to Use
- Platform teams that want infrastructure provisioned like Kubernetes objects
- Standardizing multi-cloud resource templates
- Self-service infrastructure for app teams
Real Commands
# Install control plane
helm install crossplane crossplane-stable/crossplane -n crossplane-system --create-namespace
kubectl apply -f provider-aws.yaml
kubectl get providers
# Configure credentials
kubectl apply -f providerconfig-aws.yaml
kubectl get providerconfigs
# Define and apply compositions
kubectl apply -f xrd.yaml
kubectl apply -f composition.yaml
kubectl apply -f claim.yaml
# Observe and debug
kubectl get composite
kubectl get claims
crossplane alpha trace vpc my-vpc
kubectl get events --sort-by=.lastTimestamp | tail -30
XRD + Composition Sketch
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: vpcs.example.org
spec:
group: example.org
names:
kind: VPC
plural: vpcs
claimNames:
kind: VPCClaim
plural: vpcclaims
Best Practices
- Version XRDs (
apiVersion: v1beta1) before exposing to teams
- Keep credentials in crossplane-system secrets referenced by ProviderConfig
- Use
crossplane alpha trace as the first debugging step
- Enforce
compositions immutability with review; test on a sandbox account first
- Monitor provider health:
kubectl get providers -o jsonpath='{.items[*].status.conditions}'
Capabilities
provider-and-config
Install providers and configure cloud credentials for Crossplane.
Parameters:
provider (string): Provider package name, e.g. upbound/provider-aws
namespace (string): Namespace to install control plane into
Commands:
helm install crossplane crossplane-stable/crossplane -n crossplane-system --create-namespace
kubectl apply -f provider-aws.yaml
kubectl get providers
kubectl apply -f providerconfig-aws.yaml
kubectl get providerconfigs
Examples:
- helm install crossplane crossplane-stable/crossplane -n crossplane-system --create-namespace
- kubectl apply -f provider-aws.yaml
- kubectl get providers
composites-and-claims
Author and manage CompositeResourceDefinitions, Compositions, and Claims.
Parameters:
claim-kind (string): Kind of claim, e.g. VPCClaim
claim-name (string): Name of the claim instance
Commands:
kubectl apply -f xrd.yaml
kubectl apply -f composition.yaml
kubectl apply -f claim.yaml
kubectl get composite
kubectl get claims
crossplane alpha trace vpcclaim my-vpc
Examples:
- kubectl apply -f xrd.yaml && kubectl apply -f composition.yaml
- kubectl get claims
- crossplane alpha trace vpc my-vpc
References
1---2name: "crossplane"3description: "Builds control planes with Crossplane: install providers, create composite resources (XRs), manage resource claims, and trace reconciliation. Use when working with provider and config, composites and claims, devops or when the user mentions provider and config, composites and claims, devops."4license: "MIT"5compatibility: "Requires crossplane, helm, kubectl. Needs network access."6metadata:7 source: https://skillmd.com/skills/opknock/crossplane8 author: Kdesk9 version: 2.0.010 category: devops11allowed-tools: "Glob Grep Read Bash(crossplane:*) Bash(helm:*) Bash(kubectl:*)"12---1314Builds control planes with Crossplane: install providers, create composite resources (XRs), manage resource claims, and trace reconciliation.1516## Agentic Workflow: Read -> Reason -> Act (crossplane)1718You are **crossplane** (devops/general) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.1920### 1. Read — devops context for `crossplane`21- Domain: Builds control planes with Crossplane: install providers, create composite resources (XRs), manage resource claims, and trace reconciliation.22- **provider-and-config**: Install providers and configure cloud credentials for Crossplane. — `helm install crossplane crossplane-stable/crossplane -n crossplane-system --crea`23- **composites-and-claims**: Author and manage CompositeResourceDefinitions, Compositions, and Claims. — `kubectl apply -f xrd.yaml`24- Check `knowledge` and `prerequisites: crossplane, helm, kubectl`2526### 2. Reason — think for `crossplane`27- For `provider-and-config`: Install providers and configure cloud credentials for Crossplane. — decide which checks to run28- For `composites-and-claims`: Author and manage CompositeResourceDefinitions, Compositions, and Claims. — decide which checks to run29- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs3031### 3. Act — execute with `crossplane` tools32- Tools: `Glob`, `Grep`, `Read`, `Bash`, `Crossplane` (see frontmatter `tools`/`allowed-tools`)33- Use `safe_path` for any write; record evidence (paths, checksums)34- Fingerprint: `crossplane:21566ae6`3536# Crossplane Control Planes3738Provision cloud infrastructure through Kubernetes APIs using Crossplane providers and compositions.3940## What This Skill Does4142- Installs Crossplane and cloud providers via Helm and provider packages43- Stores cloud credentials in ProviderConfig secrets44- Defines CompositeResourceDefinitions (XRDs) and Compositions45- Exposes platform APIs to teams through Claims46- Traces reconciliation failures with the crossplane CLI4748## When to Use4950- Platform teams that want infrastructure provisioned like Kubernetes objects51- Standardizing multi-cloud resource templates52- Self-service infrastructure for app teams5354## Real Commands5556```bash57# Install control plane58helm install crossplane crossplane-stable/crossplane -n crossplane-system --create-namespace59kubectl apply -f provider-aws.yaml60kubectl get providers6162# Configure credentials63kubectl apply -f providerconfig-aws.yaml64kubectl get providerconfigs6566# Define and apply compositions67kubectl apply -f xrd.yaml68kubectl apply -f composition.yaml69kubectl apply -f claim.yaml7071# Observe and debug72kubectl get composite73kubectl get claims74crossplane alpha trace vpc my-vpc75kubectl get events --sort-by=.lastTimestamp | tail -3076```7778## XRD + Composition Sketch7980```yaml81apiVersion: apiextensions.crossplane.io/v182kind: CompositeResourceDefinition83metadata:84 name: vpcs.example.org85spec:86 group: example.org87 names:88 kind: VPC89 plural: vpcs90 claimNames:91 kind: VPCClaim92 plural: vpcclaims93```9495## Best Practices9697- Version XRDs (`apiVersion: v1beta1`) before exposing to teams98- Keep credentials in crossplane-system secrets referenced by ProviderConfig99- Use `crossplane alpha trace` as the first debugging step100- Enforce `compositions` immutability with review; test on a sandbox account first101- Monitor provider health: `kubectl get providers -o jsonpath='{.items[*].status.conditions}'`102103## Capabilities104105### provider-and-config106Install providers and configure cloud credentials for Crossplane.107108**Parameters:**109- `provider` (string): Provider package name, e.g. upbound/provider-aws110- `namespace` (string): Namespace to install control plane into111112**Commands:**113- `helm install crossplane crossplane-stable/crossplane -n crossplane-system --create-namespace`114- `kubectl apply -f provider-aws.yaml`115- `kubectl get providers`116- `kubectl apply -f providerconfig-aws.yaml`117- `kubectl get providerconfigs`118119**Examples:**120- helm install crossplane crossplane-stable/crossplane -n crossplane-system --create-namespace121- kubectl apply -f provider-aws.yaml122- kubectl get providers123124### composites-and-claims125Author and manage CompositeResourceDefinitions, Compositions, and Claims.126127**Parameters:**128- `claim-kind` (string): Kind of claim, e.g. VPCClaim129- `claim-name` (string): Name of the claim instance130131**Commands:**132- `kubectl apply -f xrd.yaml`133- `kubectl apply -f composition.yaml`134- `kubectl apply -f claim.yaml`135- `kubectl get composite`136- `kubectl get claims`137- `crossplane alpha trace vpcclaim my-vpc`138139**Examples:**140- kubectl apply -f xrd.yaml && kubectl apply -f composition.yaml141- kubectl get claims142- crossplane alpha trace vpc my-vpc143144## References145- [Crossplane Documentation](https://docs.crossplane.io/)146- [Crossplane CLI](https://github.com/crossplane/crossplane/blob/main/docs/cli.md)147- [Upbound Registry](https://marketplace.upbound.io/)