-
Notifications
You must be signed in to change notification settings - Fork 727
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
Flagger loadtester webhook with wrk is ignoring metrics. #366
Comments
A single call to the 500 endpoint will not bring the success rate percentage under 99%. Use wrk to hit that endpoint or a do watch -n 1 curl |
@stefanprodan Actually, i have try with |
It all depends on how many requests/sec wrk generates, I guess one error per second doesn’t make one percent of the total traffic. Use wrk from inside the pod to generate errors. You could set the success rate threshold to 100 and test it like that. |
Going to close this, please open a new issue if rollback doesn’t work for you |
Becuase of this issue in rakyll/hey that used in flagger-loadtester I try to use flagger with wrk with my own custom loadtester images (just and old image with wrk installed) in stead of rakyll/hey
Then I try following Linkerd canary deploy tutorial
with Canary's webhooks command
wrk -d 1m -t 1 -c 1 http://podinfo-canary.test:9898/
withrequest-success-rate
metric. it's work perfectly but after using this below command in flagger-loadtester-xxxx pod, rolling update still working :(I just wonder why canary deploy still working with 500 status on my custom loadtester image.
this is my Dockerfile script
This is Flagger's Canary configuration
The text was updated successfully, but these errors were encountered: