ArgoRollouts
Argo Rollouts progressive delivery controller for Kubernetes. USE WHEN user mentions rollouts, canary deployments, blue-green deployments, progressive delivery, traffic shifting, analysis templates, or Argo Rollouts. Provides deployment strategies, CLI commands, metrics analysis, and YAML examples.
Works with
---
name: ArgoRollouts
description: Argo Rollouts progressive delivery controller for Kubernetes. USE WHEN user mentions rollouts, canary deployments, blue-green deployments, progressive delivery, traffic shifting, analysis templates, or Argo Rollouts. Provides deployment strategies, CLI commands, metrics analysis, and YAML examples.
license: MIT
---
# Argo Rollouts Skill
Comprehensive guide for Argo Rollouts - a Kubernetes controller providing advanced deployment capabilities including blue-green, canary, and experimentation for Kubernetes.
## Quick Reference
| Resource | Description |
|----------|-------------|
| **Rollout** | Replaces Deployment, adds progressive delivery strategies |
| **AnalysisTemplate** | Defines metrics queries for automated analysis |
| **AnalysisRun** | Instantiated analysis from template |
| **Experiment** | Runs ReplicaSets for A/B testing |
| **ClusterAnalysisTemplate** | Cluster-scoped AnalysisTemplate |
## Core Concepts
### Rollout CRD
The Rollout resource replaces standard Kubernetes Deployment and provides:
- **Blue-Green Strategy**: Instant traffic switching between versions
- **Canary Strategy**: Gradual traffic shifting with analysis gates
- **Traffic Management**: Integration with service meshes and ingress controllers
- **Automated Analysis**: Metrics-based promotion/rollback decisions
### Deployment Strategies
**Blue-Green:**
```yaml
strategy:
blueGreen:
activeService: my-app-active
previewService: my-app-preview
autoPromotionEnabled: false
```
**Canary:**
```yaml
strategy:
canary:
steps:
- setWeight: 20
- pause: {duration: 5m}
- setWeight: 50
- analysis:
templates:
- templateName: success-rate
```
## Traffic Management Integrations
| Provider | Configuration Key |
|----------|-------------------|
| **Istio** | `trafficRouting.istio` |
| **NGINX Ingress** | `trafficRouting.nginx` |
| **AWS ALB** | `trafficRouting.alb` |
| **Linkerd** | `trafficRouting.linkerd` |
| **SMI** | `trafficRouting.smi` |
| **Traefik** | `trafficRouting.traefik` |
| **Ambassador** | `trafficRouting.ambassador` |
## CLI Commands (kubectl-argo-rollouts)
```bash
# Installation
kubectl argo rollouts version
# Rollout Management
kubectl argo rollouts get rollout <name>
kubectl argo rollouts status <name>
kubectl argo rollouts promote <name>
kubectl argo rollouts abort <name>
kubectl argo rollouts retry <name>
kubectl argo rollouts undo <name>
kubectl argo rollouts pause <name>
kubectl argo rollouts restart <name>
# Dashboard
kubectl argo rollouts dashboard
# Validation
kubectl argo rollouts lint <file>
```
## Analysis Providers
| Provider | Use Case |
|----------|----------|
| **Prometheus** | Metrics queries with PromQL |
| **Datadog** | Datadog metrics API |
| **New Relic** | NRQL queries |
| **Wavefront** | Wavefront queries |
| **Kayenta** | Canary analysis platform |
| **CloudWatch** | AWS CloudWatch metrics |
| **Web** | HTTP endpoint checks |
| **Job** | Kubernetes Job-based analysis |
## Reference Documentation
- [Summary](references/summary.md) - Overview and architecture
- [Deployment Strategies](references/deployment-strategies.md) - Blue-green and canary details
- [CLI Commands](references/cli-commands.md) - kubectl plugin reference
- [Analysis & Metrics](references/analysis-metrics.md) - AnalysisTemplate configuration
- [Examples](references/examples.md) - Complete YAML examples
## Common Patterns
### Canary with Automated Analysis
```yaml
steps:
- setWeight: 10
- pause: {duration: 1m}
- analysis:
templates:
- templateName: success-rate
args:
- name: service-name
value: my-service
- setWeight: 50
- pause: {duration: 2m}
```
### Blue-Green with Pre-Promotion Analysis
```yaml
strategy:
blueGreen:
activeService: active-svc
previewService: preview-svc
prePromotionAnalysis:
templates:
- templateName: smoke-tests
autoPromotionEnabled: false
```
## Troubleshooting
| Issue | Solution |
|-------|----------|
| Rollout stuck in Paused | Run `kubectl argo rollouts promote <name>` |
| Analysis failing | Check AnalysisRun status and metric queries |
| Traffic not shifting | Verify traffic management provider config |
| Pods not scaling | Check HPA and resource limits |
## Best Practices
1. **Always use analysis gates** for production canaries
2. **Set appropriate pause durations** between weight increases
3. **Configure rollback thresholds** in AnalysisTemplates
4. **Use preview services** for blue-green validation
5. **Monitor AnalysisRuns** during deployments
6. **Version your AnalysisTemplates** alongside application codeMore Deployment & CI/CD skills
azure-enterprise-infra-planner
microsoft/azure-skills
Architect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, security, compliance, and multi-resource topologies with WAF alignment. Generates Bicep or Terraform directly (no azd). WHEN: 'plan Azure infrastructure', 'architect Azure landing zone', 'design hub-spoke network', 'plan multi-region DR topology', 'set up VNets firewalls and private endpoints', 'subscription-scope Bicep deployment', 'Azure Backup for VM workloads'. PREFER azure-prepare FOR app-centric workflows.
azure-kubernetes-app-deploy
microsoft/azure-skills
Use when deploying an existing web application or API to an already-running Azure Kubernetes Service cluster. Detects the framework, generates a Dockerfile and Kubernetes manifests, validates against AKS Deployment Safeguards, and deploys with verification. WHEN: deploy app to AKS, deploy to existing AKS cluster, containerize app for Kubernetes, generate K8s manifests for Azure, set up CI/CD for AKS, my AKS deployment is failing safeguard checks, I have a Django/Express/Spring Boot app to run on AKS. DO NOT USE FOR: creating or provisioning an AKS cluster (use azure-kubernetes), assessing migration to AKS Automatic (use azure-kubernetes-automatic-readiness), or deploying to non-AKS targets like Web Apps, Container Apps, or Functions.
finetuning
microsoft/azure-skills
Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

