-
Notifications
You must be signed in to change notification settings - Fork 547
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
The error:'Sum of weights in the weighted_cluster should add up to 100' can not find which virtualservice is wrong #586
Comments
Is this a sign that validation isn't working as expected? pkg/config/validation/validation.go verifies that the total weight of a VirtualService is 100. @mbanikazemi Pilot does not notice that it is supplying Envoy with invalid configuration. Should pkg/networking/core/v1alpha3/route/route.go check the weights it is about to send to Envoy and issue its own warning if the sum is not 100? (Having Pilot issue the warning would let Istio log the name of the cluster that has the problem.) Should Pilot cap the weight at 100 to avoid Envoy rejecting the entire configuration? |
Need to confirm whether the iuuse resolved? |
This has been resolved, it is rejected by validating webhook |
When there is a virtualservice'destinationrule as flow
then I get error from ingressgateway pod logs:
and then all the virtualservice is down,every hosts can not be use.
but,I do not kown whitch virtualservice is wrong by those error message
The text was updated successfully, but these errors were encountered: