From aj-geddes-useful-ai-prompts-4
Implements canary deployment strategies for gradual rollouts to a subset of users with automatic rollback based on metrics. Includes reference guides for Istio, Kubernetes native, metrics analysis, and automated promotion.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:canary-deploymentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Deploy new versions gradually to a small percentage of users, monitor metrics for issues, and automatically rollback or proceed based on predefined thresholds.
Minimal working example:
# canary-deployment-istio.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp-v1
namespace: production
spec:
replicas: 3
selector:
matchLabels:
app: myapp
version: v1
template:
metadata:
labels:
app: myapp
version: v1
spec:
containers:
- name: myapp
image: myrepo/myapp:1.0.0
ports:
- containerPort: 8080
---
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Istio-based Canary Deployment | Istio-based Canary Deployment |
| Kubernetes Native Canary Script | Kubernetes Native Canary Script |
| Metrics-Based Canary Analysis | Metrics-Based Canary Analysis |
| Automated Canary Promotion | Automated Canary Promotion |
npx claudepluginhub aj-geddes/useful-ai-promptsSelects and designs deployment strategies (blue-green, canary, rolling) for safe production releases.
Promotes approved releases in production using canary strategies (traffic-based, feature flag, blue-green) with continuous metric observation and automatic rollback to limit blast radius.
Orchestrates multi-stage deployment pipelines with Kubernetes, CI/CD platforms, and strategies like blue-green, canary, rolling updates across dev/staging/prod.