Ryan Baxter
Ryan Baxter
Closing in favor of the original issue #2498
Can you provide a [complete, minimal, verifiable sample](https://stackoverflow.com/help/mcve) that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip...
But I am not sure the config map watcher will take that into account. I think it was added after I implemented the config map watcher
Ah OK, then yes I think we can close this.
Can you please try this with either 2021.0.5 or 2022.0.0?
I suggest you use Spring Cloud Loadbalancer and set `spring.cloud.kubernetes.discovery.all-namespaces=true`. The `DiscoveryClient` will then return services across all namespaces and the `LoadBalancer` will load balance between them.
Can you provide a [complete, minimal, verifiable sample](https://stackoverflow.com/help/mcve) that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip...
The only usage of discovery client i see in this sample is here https://github.com/vksaamy/Petclinc_spring_cloud_discovery_server/blob/a4979ef47d0b8bbffe39eece935550ba11ef5f72/PetClinic01/visits-svc1/src/main/java/org/springframework/samples/petclinic/visits/DiscoveryConfig.java#L37 And there isn't even a service for that. Please simply the sample down to the bare...
so you are using https://hub.docker.com/r/springcloud/spring-cloud-kubernetes-discoveryserver? How are you configuring and deploying that?
I dont see where you are telling the discovery server to look across all namespaces by setting `all-namespaces` to `true`