| 金丝雀 | steps:setWeight / pause / analysis |
|---|---|
| 蓝绿 | activeService 与 previewService 两套服务 |
| 操作 | kubectl argo rollouts get/promote/abort |
| 分析 | AnalysisTemplate 对接指标源 |
金丝雀步骤
金丝雀步骤
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata: {name: web}
spec:
strategy:
canary:
steps:
- setWeight: 10
- pause: {duration: 30m}
- setWeight: 50
- pause: {duration: 1h}Rollout 接管副本管理后会替换原 Deployment 的角色:迁移前确认团队的发布入口与权限同步调整。