Hi,
I’am using isito 1.6.16 and i have following service entry for two external database instances:
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: external-db-se
spec:
hosts:
- db1.external.host.com
- db2.external.host.com
location: MESH_EXTERNAL
ports:
- number: 5433
name: tcp-db
protocol: TCP
resolution: NONE
but no matter what call is made, it always connects to db1.external.host.com
curl db1.external.host.com
[2021-09-22T21:05:01.786Z] "- - -" 0 - "-" 2087 2714 171337 - "-" "-" "-" "-" "10.55.68.8:5433" outbound|5433||db1.external.host.com 10.128.79.17:37608 10.55.68.8:5433 10.128.79.17:37606 -
curl db2.external.host.com
[2021-09-22T21:05:01.786Z] "- - -" 0 - "-" 2087 2714 171337 - "-" "-" "-" "-" "10.56.95.8:5433" outbound|5433||db1.external.host.com 10.128.79.17:37608 10.56.95.8:5433 10.128.79.17:37606 -
curl 10.55.68.8:5433
[2021-09-22T21:05:01.786Z] "- - -" 0 - "-" 2087 2714 171337 - "-" "-" "-" "-" "10.55.68.8:5433" outbound|5433||db1.external.host.com 10.128.79.17:37608 10.55.68.8:5433 10.128.79.17:37606 -
curl 10.56.95.8:5433
[2021-09-22T21:05:01.786Z] "- - -" 0 - "-" 2087 2714 171337 - "-" "-" "-" "-" "10.56.95.8:5433" outbound|5433||db1.external.host.com 10.128.79.17:37608 10.56.95.8:5433 10.128.79.17:37606 -
Are there any workarounds for this? Is it possible to at least connect one database per service?