Open sudhakar-cloudiq opened 2 years ago
Because of the entry "mesh" in .spec.service.gateways
, Flagger will generate a VirtualService
that would be applied to all the sidecars in the mesh, which would result in it being applied to internal traffic as well. You need to remove "mesh" from there, so that the VirtualService
is bound only to your custom Gateway
, and only external traffic is affected. Ref: https://istio.io/latest/docs/reference/config/networking/virtual-service/#VirtualService
thanks for the reply @aryan9600. The expectation is service should be working with URL prefix for external traffic and it should be working without URL prefix for internal traffic.
External: http://svc.stg.abc.com/tax/api/wa Internal: http://taxapi.svc.cluster.local/api/wa
How do I achieve this? Thanks in advance
we have the same issue.
Describe the bug
Can flagger routes the traffic based on the istio ingress and mesh? We have the request coming from external with uri prefix and we have the rewrite rule in Virtual service. When we create canary the rewrite rules apply both internal and external traffic. This will work only for external but internal traffic. Is there any solution to solve this?
To Reproduce
Virtual Service
Canary:
Expected behavior
Additional context