Open letmagnau opened 2 years ago
Hi @letmagnau, Do you encounter this problem even when Isolation is not enabled? It looks like SCG has its own routing rules and it might not work correctly when isolation is enabled.
Hi Lorenzo, thanks for reply. Yes I've tried in both way Sure, spring cloud gateway is able to recognize k8 service discovery but thought seems that it can find it but it try to point to cluster ip address and not to service name and in my local net it is not resolved
any idea?
Hi @letmagnau, It looks like the problem is with the way SCG does service resolution. For Bridge to work we need that the local service calls it's dependencies by name, not IP. This is because we intercept the DNS resolution to redirect the traffic to our local listeners. If the code calls IPs we cannot intercept that. I'm not familiar with SCG but I'd suggest you can try to find a way to configure it so that it doesn't resolve IPs but instead returns service names.
Hello, i'm passing from Zuul to SCG to accompish the reactive webflux stack using Server Side Events but when we are using Zuul, b2K works good instead now we cannot are able to use K8 service discovery
It seems to be undestand the pod but redirect it with the ip and not whit the service name
To Reproduce use simple Spring Cloud Gateway project whit this conf in application.yml spring: cloud: gateway: default-filters: