I have two VirtualService objects… one that does a 20-80 traffic split and another that looks for a header.
They work when accessing my service through the Ingress gateway. When I add the header, I can see it going to the correct subset all the time. And when I don’t have it, I can see the 20-80 traffic split happening. All good there.
However, when I access the service internally (e.g. from inside another service’s container: curl helloworld:5000/hello), while the traffic split is still happening from what I can tell, the header rule is not taking effect. When I add the header, I can see it in the curl verbose output, but it does not affect the routing. It just goes and applies the 20-80 traffic split.
Could there be a bug with internal calls when there’s more than one virtual service involved?