-
Notifications
You must be signed in to change notification settings - Fork 30
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
Discovery Service Filter not working #3
Comments
Did you checked the other examples of these demo? Just to make sure that your labels are matching.. also which version of spring cloud are you using.. it might be that the filters are broken.. |
Yeah I've looked at all the other examples. I'm using Greenwich.SR3, which pulls in spring-cloud-kubernetes: 1.0.3.RELEASE |
Here is the full error. It actually shows up when the app starts up. So it doesn't even start completely..
|
That was definitely not happening in my examples.. so it might be broken now with those versions.. Can you please create a simple project that reproduces the problem? Or even send a PR here updating to the versions that you are using so we can have a public project failing? |
The gateway works fine when I don't add the discovery filter property, as it picks up all services in my cluster and creates routes to them. However, when I add the property:
and change my service that I want to picked up from the gateway to have a label in the metadata to have s1p: "true", nothing gets picked up and I get this error instead:
Any ideas on what I could be doing wrong?
The text was updated successfully, but these errors were encountered: