Hi,
I’m trying to determine why an envoy virtual host is not being created. Here’s the relevant gateway and virtual service:
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: star-cert
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- '*'
port:
name: http-passthrough
number: 80
protocol: HTTP
tls:
mode: PASSTHROUGH
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: shorthand
spec:
gateways:
- star-cert.istio-system
hosts:
- '*'
http:
- match:
- authority:
exact: foo
redirect:
authority: foo.company.com
For one cluster I tried this on istioctl proxy-config route
showed me a “*.80” virtual host as expected and I’ve successfully used the route. On another cluster the route does not exist. How can I tell if there is a misconfiguration? Are there logs for when virtual hosts are created? Any help is appreciated.