Back to list
julianobarbosa

argorollouts

by julianobarbosa

4🍴 0📅 Jan 24, 2026

SKILL.md


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.

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

ResourceDescription
RolloutReplaces Deployment, adds progressive delivery strategies
AnalysisTemplateDefines metrics queries for automated analysis
AnalysisRunInstantiated analysis from template
ExperimentRuns ReplicaSets for A/B testing
ClusterAnalysisTemplateCluster-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:

strategy:
  blueGreen:
    activeService: my-app-active
    previewService: my-app-preview
    autoPromotionEnabled: false

Canary:

strategy:
  canary:
    steps:
    - setWeight: 20
    - pause: {duration: 5m}
    - setWeight: 50
    - analysis:
        templates:
        - templateName: success-rate

Traffic Management Integrations

ProviderConfiguration Key
IstiotrafficRouting.istio
NGINX IngresstrafficRouting.nginx
AWS ALBtrafficRouting.alb
LinkerdtrafficRouting.linkerd
SMItrafficRouting.smi
TraefiktrafficRouting.traefik
AmbassadortrafficRouting.ambassador

CLI Commands (kubectl-argo-rollouts)

# 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

ProviderUse Case
PrometheusMetrics queries with PromQL
DatadogDatadog metrics API
New RelicNRQL queries
WavefrontWavefront queries
KayentaCanary analysis platform
CloudWatchAWS CloudWatch metrics
WebHTTP endpoint checks
JobKubernetes Job-based analysis

Reference Documentation

Common Patterns

Canary with Automated Analysis

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

strategy:
  blueGreen:
    activeService: active-svc
    previewService: preview-svc
    prePromotionAnalysis:
      templates:
      - templateName: smoke-tests
    autoPromotionEnabled: false

Troubleshooting

IssueSolution
Rollout stuck in PausedRun kubectl argo rollouts promote <name>
Analysis failingCheck AnalysisRun status and metric queries
Traffic not shiftingVerify traffic management provider config
Pods not scalingCheck 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 code

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon