Istio Multi cluster setup | Using istio smart DNS proxying | TCP traffic routed to BlackholeCluster #49144
Replies: 4 comments 5 replies
-
I cannot fathom how NONE would work with auto_allocation. Basically that means the DNS response is going to return a bogus IP addrss (240.240.0.5), and envoy is going to pass the request through to that IP address. Since 240.240.0.5 is not as real IP its going to be broken. DNS vs NONE mode should not impact traffic matching at all. I feel there is maybe some information missing that explains this. Can you give more config like the Service entry, etc See also https://istio.io/latest/docs/ops/configuration/traffic-management/traffic-routing/ |
Beta Was this translation helpful? Give feedback.
-
Our service entry looks like this. Many namspaces have same serviceentry but all of them are namespaced scope (
And destination rule, like this :
|
Beta Was this translation helpful? Give feedback.
-
Maybe you are running into #27619? I suspect the DNS proxy is not hitting at all. Debugging steps:
|
Beta Was this translation helpful? Give feedback.
-
Issue : After setting this up, Existing ServiceEntries (like aws dbs) for TCP traffic with
resolution: DNS
getting routed toBlackHoleCluster
. If we change theresolution to NONE
it works correctly.Checked enpoints, listerners and even envoy config dump, could not track down why the behaviour is different.
Every issues or post that I read realted to this, says to set DNS VIP allocation for ServiceEntry but does not work for my case.
FYI.
Outbout traffic is registry only
Is this a shorting coming for istio DNS? Any insight would help to understand this behaviour better.
Attaching access logs from proxy side car.
If resolution of serviceEntry is set to DNS, then access logs :
Istio pc listeners
ADDRESS=240.240.0.58, DESTINATION=Cluster: outbound|9142||cassandra.eu-west-1.amazonaws.com
If resolution of serviceEntry is set to NONE, then access logs looks like this and connects to the db.
Beta Was this translation helpful? Give feedback.
All reactions