The Big Picture
Ctrlplane sits between your CI/CD pipelines and your infrastructure, acting as the orchestration layer that decides when, where, and how deployments happen.The Flow: What Happens When You Deploy
Step 1: CI Creates a Version
After your CI pipeline builds and tests your code, it creates a Version in Ctrlplane:Step 2: Ctrlplane Calculates Release Targets
Ctrlplane automatically figures out where this version needs to go by calculating Release Targets:- API Service → Production → us-east-1 cluster
- API Service → Production → us-west-2 cluster
- API Service → Production → eu-west-1 cluster
Step 3: Policies Are Evaluated
Before any deployment happens, Ctrlplane evaluates Policies for each release target:
If all policies pass, a Release is created and a Job is dispatched.
Step 4: Job Agent Executes
A Job Agent receives the job and performs the actual deployment. Job agents are the bridge to your infrastructure:Step 5: Verification Runs
After the deployment completes, Verification checks that everything is healthy:Key Concepts at a Glance
How Resources and Environments Work Together
Resources are your actual infrastructure—clusters, VMs, functions. Environments are logical groupings that use selectors to dynamically include resources.env: production metadata, it automatically
becomes part of the Production environment. No config changes needed.
The Inventory: Your Source of Truth
Ctrlplane maintains a real-time Inventory of all your resources:- Synced from providers: Kubernetes, AWS, GCP, or custom scripts
- Rich metadata: Region, team, tier, version—whatever you need
- Version tracking: See what’s deployed where at any moment
- Custom relationships: Model dependencies between resources
Putting It All Together
Here’s a complete example flow:- You push code to your main branch
- CI builds and creates Version
v2.0.0in Ctrlplane - Ctrlplane plans: “v2.0.0 needs to go to Staging (2 clusters) and Production (3 clusters)”
- Staging deploys first (environment progression policy)
- Verification runs on staging—checks error rates in Datadog
- Staging passes → Production is unblocked
- Production requires approval → Team lead approves
- Gradual rollout → Deploy to 1 cluster, wait 10 min, next cluster…
- Verification runs after each cluster
- Done → All 5 clusters running v2.0.0
Next Steps
Quickstart
Set up your first deployment pipeline
Core Concepts
Deep dive into each entity
Inventory
Manage your infrastructure resources
Policies
Configure deployment rules