-
Notifications
You must be signed in to change notification settings - Fork 743
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
confirm-rollout and pre-rollout not working as expected #669
Comments
Just following up with this issue since there has been no response here or in the flagger slack community. Please let me know if the issue could not be reproduced! It might be that we have not been using the If above is the case, it would be good to have that mentioned in the flagger documentation. |
We've also faced this issue, and created a code WA for it, as Gate open will put the canary into progressing status, so CheckCanaryStatus doesn't execute the code part, where the canaryController.ScaleFromZero(canary) is executed in scheduler.go. |
@axelbodo Thank you for your reply! That explains the issue. We also created work around for it. Was there any reason that flagger was built this way or can this be considered a bug? |
We are also experiencing the same thing, check here #874 |
Flagger version: 1.0.1/1.0.0
Kubernetes version: v1.15
Flagger-loadtester: 0.18.0
Flagger CRD version: Version: v1beta1
Config: canary with glooEnterprise (v1.4.6)
Issue:
Canary configuration:
In the confirm-rollout web hook, when we add gate/check, after the approval, the Canary logs show
New revision detected! Restarting analysis for podinfo.test-canary
. And it starts the analysis without launching the canary pods. This results in failing pre-rollout tests since there are no canary pods running. And the canary fails.But if we don’t have any kind of halt on confirm-rollout web hook (open gate or gate/approve) then during the canary rollout we see
New revision detected! Scaling up podinfo.test-canary
which launches canary pods and later the tests in pre-rollout web hook pass.Canary Events:
Flagger logs:
The text was updated successfully, but these errors were encountered: