blue-green-deployment

Coordinate atomic blue-green deployments with Kubernetes Service selectors.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/shafibabar/SDLC-Artifact-Factory --skill blue-green-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blue-green-deployment
Source: https://github.com/shafibabar/SDLC-Artifact-Factory/tree/main/skills/blue-green-deployment
Command: npx skills add https://github.com/shafibabar/SDLC-Artifact-Factory --skill blue-green-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the challenge of high-risk production deployments by providing a binary, reversible cutover mechanism that eliminates the uncertainty of gradual traffic shifting for complex or state-sensitive workloads.

Core Features & Use Cases

  • Atomic Cutover: Perform instant traffic switches between blue and green environments using Kubernetes Service selectors or Argo Rollouts.
  • Instant Rollback: Enable immediate restoration of the previous stable version by reverting the selector, ensuring minimal downtime during incidents.
  • Schema Compatibility: Enforce expand/contract database migration patterns to ensure both deployment versions remain compatible with a single schema.

Quick Start

Use the blue-green-deployment skill to generate a cutover plan for the compliance-engine service including the necessary expand migration and verification gate steps.

Frequently Asked Questions about blue-green-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute a zero-downtime deployment for a high-risk production service?

A zero-downtime deployment is executed by coordinating two independent environment instances and a single traffic-routing switch to perform an atomic cutover. This mechanism eliminates deployment uncertainty for complex or state-sensitive workloads.

When do I need a blue-green deployment instead of gradual traffic shifting?

A blue-green deployment is needed for high-risk production releases, schema-sensitive migrations, and non-request-driven workloads requiring instant rollback capabilities. It provides a binary, reversible cutover mechanism that avoids the uncertainty of gradual traffic shifting.

How do I rollback a Kubernetes service instantly during an incident?

To rollback a Kubernetes service instantly, you revert the Service selector to point back to the previous stable environment. This immediate selector restoration ensures minimal downtime and acts as an instant rollback mechanism.

How does schema compatibility work during a blue-green database migration?

Schema compatibility during a blue-green deployment is maintained by enforcing expand/contract migration patterns. This ensures both deployment versions remain compatible with a single database schema before and after the traffic switch.

Can I use Argo Rollouts for atomic service cutovers?

Yes, Argo Rollouts can be used to perform instant traffic switches between blue and green environments. It manages the atomic cutover process alongside Kubernetes Service selectors to coordinate the deployment.

Does GitOps support automated verification gates for blue-green deployments?

GitOps supports blue-green deployments through reviewed environment-repo manifests and automated verification gates. This satisfies strict audit requirements by ensuring the cutover process is fully documented and verified before completion.