How to set canary traffic percentage? #2620
-
Say, I have a HPA deployment, I want to upgrade it from v1 to v2, and I want to use canary strategy like this: trafficRouting:
nginx:
xxx
steps:
- setWeight: 5
- puase: {}
- setWeight: 20
- puase: {}
- ... I want to know if there's a way to set the percentage of traffic to v2 at the same time? Like upgrade - upgrade 5% pod
- give them 10% traffic
- pause: {}
- upgrade 20% pod
- give them 50% traffic
- ... |
Beta Was this translation helpful? Give feedback.
Answered by
kostis-codefresh
Mar 22, 2023
Replies: 1 comment 1 reply
-
Have you seen "setCanaryScale"? See more at the docs https://argoproj.github.io/argo-rollouts/features/canary/#dynamic-canary-scale-with-traffic-routing |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
caibirdme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you seen "setCanaryScale"? See more at the docs https://argoproj.github.io/argo-rollouts/features/canary/#dynamic-canary-scale-with-traffic-routing