本文へ移動
cccskills
無料GitHub で公開

blue-green-deployment-orchestrator

Blue-green and canary deployment orchestrator with traffic shifting and automated rollback. Activate on: blue-green deployment, canary release, rolling deployment, traffic shifting, rollback automation, progressive delivery, Argo Rollouts, Flagger. NOT for: K8s manifest generation (use kubernetes-manifest-generator), CI/CD pipeline setup (use github-actions-pipeline-builder), monitoring (use monitoring-stack-deployer).

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Blue-Green Deployment Orchestrator

Expert in progressive delivery strategies — blue-green, canary, and rolling deployments with automated traffic shifting and rollback.

Activation Triggers

Activate on: "blue-green deployment", "canary release", "rolling deployment", "traffic shifting", "rollback automation", "progressive delivery", "Argo Rollouts", "Flagger", "deployment strategy"

NOT for: K8s manifests → kubernetes-manifest-generator | CI/CD pipelines → github-actions-pipeline-builder | Monitoring → monitoring-stack-deployer

Quick Start

  1. Choose strategy — blue-green for instant cutover, canary for gradual rollout, rolling for simple updates
  2. Deploy progressive delivery controller — Argo Rollouts or Flagger
  3. Define analysis metrics — error rate, latency p99, custom business metrics
  4. Configure traffic shifting — weighted routing via Istio, Linkerd, or Gateway API
  5. Set automated rollback — if analysis fails, automatically revert to stable version

Core Capabilities

DomainTechnologies
ControllersArgo Rollouts 1.7, Flagger 1.38, Spinnaker
Traffic SplittingIstio VirtualService, Linkerd TrafficSplit, Gateway API HTTPRoute
AnalysisPrometheus queries, Datadog metrics, CloudWatch, custom webhooks
StrategiesBlue-green, canary (linear/exponential), A/B testing, rolling
PlatformsKubernetes, AWS ECS (CodeDeploy), Cloudflare Workers (gradual)

Architecture Patterns

Argo Rollouts Canary Strategy

apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: api-server
spec:
  replicas: 5
  strategy:
    canary:
      canaryService: api-canary-svc
      stableService: api-stable-svc
      trafficRouting:
        istio:
          virtualService:
            name: api-vsvc
      steps:
        - setWeight: 5        # 5% traffic to canary
        - pause: { duration: 5m }
        - analysis:
            templates:
              - templateName: error-rate-check
        - setWeight: 25       # 25% if analysis passes
        - pause: { duration: 10m }
        - analysis:
            templates:
              - templateName: latency-check
        - setWeight: 50       # 50%
        - pause: { duration: 10m }
        - setWeight: 100      # Full promotion
      rollbackWindow:
        revisions: 2

Blue-Green with Instant Cutover

                    ┌──────────────┐
                    │   Router     │
                    │  (Ingress/   │
                    │   Gateway)   │
                    └──────┬───────┘
                           │
              ┌────────────┼────────────┐
              ▼                         ▼
     ┌────────────────┐      ┌────────────────┐
     │  BLUE (active)  │      │  GREEN (preview)│
     │  v1.2.0         │      │  v1.3.0         │
     │  3 replicas     │      │  3 replicas     │
     └────────────────┘      └────────────────┘

Workflow:
  1. Deploy v1.3.0 to GREEN (preview, no traffic)
  2. Run smoke tests against GREEN preview URL
  3. Switch router: 100% traffic BLUE → GREEN
  4. Monitor for 15 minutes
  5. If healthy: scale down BLUE (now standby)
  6. If unhealthy: instant rollback — switch back to BLUE

Canary Analysis Template

apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
  name: error-rate-check
spec:
  metrics:
    - name: error-rate
      interval: 1m
      count: 5
      successCondition: result[0] < 0.01  # < 1% error rate
      failureLimit: 2
      provider:
        prometheus:
          address: http://prometheus:9090
          query: |
            sum(rate(http_requests_total{status=~"5..",
              app="{{args.service}}",
              rollout_hash="{{args.canary-hash}}"}[2m]))
            /
            sum(rate(http_requests_total{
              app="{{args.service}}",
              rollout_hash="{{args.canary-hash}}"}[2m]))

Anti-Patterns

  1. Canary without analysis — shifting traffic to canary but not measuring success. Always define automated analysis with clear success/failure criteria.
  2. No rollback automation — manual rollback during incidents adds delay. Configure automatic rollback when analysis metrics fail.
  3. Testing only happy paths in canary — synthetic smoke tests pass but real user traffic reveals issues. Include error rate and latency metrics from real traffic.
  4. Blue-green without enough capacity — running both blue and green requires 2x resources. Budget for double capacity during deployment windows.
  5. Skipping progressive steps — going from 5% to 100% in one jump. Use gradual steps (5% → 25% → 50% → 100%) with analysis at each stage.

Quality Checklist

[ ] Deployment strategy documented (blue-green, canary, or rolling)
[ ] Progressive delivery controller deployed (Argo Rollouts or Flagger)
[ ] Traffic splitting configured via service mesh or Gateway API
[ ] Canary analysis templates defined with Prometheus queries
[ ] Automated rollback triggers on error rate or latency degradation
[ ] Preview/canary service accessible for pre-promotion testing
[ ] Rollback tested independently (not just on failure)
[ ] Deployment takes less than 15 minutes end-to-end
[ ] Resource budget accounts for blue-green double capacity
[ ] Deployment status visible in Grafana or ArgoCD dashboard
[ ] Notification sent on promotion and rollback events
[ ] Runbook documents manual override procedures

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/port-daddy22026年10月8日 更新

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/port-daddy22026年10月8日 更新

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/port-daddy22026年10月8日 更新

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/port-daddy22026年10月8日 更新

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/port-daddy22026年10月8日 更新

Apply cognitive task analysis to expert work that depends on perceptual cues, branching judgment, and recurring monitoring loops. Use when decomposing expert capability into agent structure, simulation design, or validation interviews. NOT for ordinary step-by-step SOP capture or simple pipelines with no tacit cue layer.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/port-daddy22026年10月8日 更新

curiositech のスキルをすべて見る

このスキルの問題を報告する