We have a cluster running on GCP, with Istio ingress set up on it.
We are currently in a process of adding a DNS record to map from example.site2.com
to example.site1.com
. We have setup the gateway currently withe following config:
Hosts:
*.example.site1.com
Port:
Name: https-wc
Number: 443
Protocol: HTTPS
Tls:
Credential Name: ingressgateway-wc-certs
Mode: SIMPLE
Hosts:
example.site1.con
Port:
Name: https-base
Number: 443
Protocol: HTTPS
We currently have an A record which is mapping *.example.site1.com
to the ingress external IP address. Our intention is to map all traffic from example.site2.com
to example.site1.com
. Currently we get an NR (Not DestinationRule or VirtualService) error when visiting example.site2.com
. Is this achievable?