-
Notifications
You must be signed in to change notification settings - Fork 24
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
VirtualRouter not matching prefix #223
Comments
Ive since then amended my virtual router to the below
And still my routes are being ignored, when I go to |
Removed the whole route named |
I have replicated this with the colorapp demo, removed the green one from the router and then did a curl to the I dont understand why its not being proxied at all? |
@benpettman When you update a route, it takes couple of minutes for the Envoy to receive the updated configuration. But, for the example you mentioned, "/health" should not redirect the request to "/search". Can you share your full mesh configuration for us to reproduce the issue? |
Sure, I mean Ill share the demo colorapp as I can replicate the same issues with that:
Feel free to tell me its wrong! After deploying that, and then deploying a curler pod and calling |
Here is a curl result from the above config...
|
I think I have worked it out, the mesh doesnt work if you dont call something from within the mesh. facepalm |
That makes sense. Currently, services in a mesh can only be called by other services within the same mesh. Support for ingress in available in our preview channel and you can track the release of the same here I am marking this as closed. Feel free to reopen if you still face the same issue. |
I have been working with all of the demos and walkthroughs, and have applied all of the correct logic to my app.
Upon deploying the app I have a VirtualRouter below
As you can see I am wanting to only apply this weighted routing on the path
/search
however when I curl into a curler pod into the EKS cluster and curl the/health
endpoint this gets balanced as per the weightings above.I would of expected it to only weight the requests going to
/search
and not/health
, or am I doing something wrong or mis-understanding?EDIT
My controller is spitting out the following log
Which would seem to say it cant find the virtual router, if this is the case then how would it be using the router to effectively load balance me over the 2 virtual nodes?
EDIT 2
What is odd about that error is it cant find
api-router
by my route isnt called that, its calledapi
The text was updated successfully, but these errors were encountered: