I created a VirtualService like this to try to make a route to the Jaeger UI:
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: jaeger-vs spec: hosts: - "*" gateways: - my-gateway http: - match: - uri: prefix: "/tracing/" rewrite: uri: "/" route: - destination: port: number: 80 host: tracing.istio-system.svc.cluster.local
It makes a call to
http://<my-ip-address>/tracing/ and returns a 200, but then it tries to make calls for some static assets like favicon.ico which is actually to
http://<my-ip-address>/favicon.ico and I was expecting it to go to
I might not be understanding the purpose of “rewrite”, but I thought it was so that I could use one VirtualService to route to different services, so /serviceA/ goes to serviceA, but when it gets there, the path would only have “/” because of the rewrite.
Any ideas how I can go about this path-based routing to the Jaeger UI? Thanks!
(this is just to simplify debugging - I’d like to avoid Host-based routing / SNI so I don’t have to change my hosts file, etc)
Edit* Oh, and we’re using Istio 1.0.2 for now - we are lagging a bit behind, since we had some trouble with later versions.