-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Total replica count should be capped during a rollout #1707
Comments
@johnniee Can you please share an example configuration for argo rollout canary release for a kafka consumer application? I am new to argo rollout and would like to know how weight distribution happens for a kafka consumer app. |
Hi @Vignesh-Au, here's a snippet for our canary strategy we are using for our Kafka consumers: canary:
maxSurge: 0
maxUnavailable: 1
stableMetadata:
labels:
role: "stable"
canary: "false"
canaryMetadata:
labels:
role: "canary"
canary: "true"
steps:
- setWeight: 1
- pause: { } The |
Thanks @johnniee. |
Summary
According to the 'important' section here - Argo Rollouts makes the best effort to achieve the percentage listed in the last setWeight step.
Is there any other way I can achieve a situation where the rollout will always respect the number of the replica count I provided in the deployment file? Using traffic management won't help here since It's a producer-consumer platform.
Use Cases
I'm using Argo-Rollouts for my Kafka consumers. And the number of my replicas should be equal and constant to the number of Kafka partitions. In case the rollout will exceed the number of the desired replicas in my manifest it might cause issues in my system. So it should be
maxOldRevision + newRevision == totalReplicaCount
.Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: