Argo Rollouts 灰度发布与步骤控制实战apiVersion: argoproj.io/v1alpha1 kind: Rollout metadata: name: web spec: replicas: 4 selector: matchLabels: app: web strategy: canary: steps: - setWeight: 25 - pause: { duration: 300 } - setWeight: 50 - pause: { duration: 300 } - setWeight: 100 template: metadata: labels: app: web spec: containers: - name: web image: example/web:latest 验证通过 `kubectl argo rollouts get rollout web` 观察步骤与权重推进总结分步权重与暂停控制可在真实流量中逐步验证新版本,降低上线风险。

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部