3

How can I use a part of matched URI in destination rule in istio?

Trying to achieve something like this:

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
spec:
  http:
  - match:
    - uri:
        regex: "^/foo/(.+)/?$"
    route:
    - destination:
        host: bar-$1
        port:
          number: 80
Maklaus
  • 538
  • 2
  • 16
  • 37

1 Answers1

2

As far as I know this is not possible at all. Cant provide you any confirmation link on this. The similar question was here in the past: can istio support route to different service by dynamic part of uri path

Vit
  • 7,740
  • 15
  • 40