Skip to main content

The Scenario

Your deployment pipeline says “success” but the service is actually broken. You want:
  • Automatic health checks after every deployment
  • Real metrics from Datadog, Prometheus, or your monitoring stack
  • Automatic rollback if verification fails
  • No more “deploy succeeded, service is down” situations

Without Ctrlplane

The typical flow:
  1. CI/CD deploys the service
  2. Pipeline says ✅ because kubectl apply succeeded
  3. Service is actually broken (bad config, missing dependency, etc.)
  4. Someone notices 30 minutes later
  5. Frantic rollback ensues
What goes wrong:
  • “Deployed successfully” ≠ “Working correctly”
  • Health checks are bolted on, not built in
  • Rollback is manual and error-prone
  • No verification between regions during multi-cluster deploys

With Ctrlplane

Add a verification policy:

What Happens

  1. Deployment completes — Job agent reports success
  2. Verification starts — First metric check at 60 seconds
  3. Metrics queried — Datadog returns error rate and latency
  4. Success condition evaluated — Is error rate < 1%? Is p99 < 500ms?
  5. Continue or fail — If 2+ checks fail, trigger rollback
  6. Rollback executes — Previous version is deployed automatically

Key Benefits

Verification Providers

Datadog

Prometheus

HTTP Endpoint

Custom Script

Variations

Progressive Verification

Start with quick checks, then extend to thorough verification:

Environment-Specific Thresholds

Multi-Metric Verification

Rollback Behavior

When verification fails:
  1. Rollback triggered — Ctrlplane initiates rollback
  2. Previous version deployed — The last successful version is redeployed
  3. Verification runs again — Confirms rollback was successful
  4. Release marked failed — Full audit trail preserved
You can also configure rollback behavior:

Next Steps

Datadog Verification

Configure Datadog metrics

HTTP Verification

Set up HTTP health checks

Environment Promotion

Gate promotions on verification

Multi-Region

Verify between regions