-
Hello! I am trying to get traffic splits working with the GCE Ingress. I got route based metrics working by configuring a BackendConfig for the service like this:
The Ingress is defined like this:
and the service defined like this:
I created a baseline service to test the traffic split like this:
and a canary service like this:
and finally, the traffic split:
However, no metrics are showing in the viz dashboard for this traffic split. If I tap the application with I've obfuscated the service names/routes as they expose vendor information which I don't believe I can share, but here are some screenshots. I tried switching from stable-2.10.2 to edge-21.6.3 which appears to support adding
Switching to this version broke route metrics and
I get route metrics again if I switch back to stable. Do traffic splits only work with ingress controllers where you can inject the linkerd sidecar in ingress mode which is not possible with GCE Ingresses or is there another way that Linkerd can determine how to route traffic for a traffic split? Here is the output of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@dnjp If I'm not mistaken, the traffic splitting happens on the client side, so the ingress pod has to be injected with the Linkerd proxy for the traffic split to work. |
Beta Was this translation helpful? Give feedback.
@dnjp If I'm not mistaken, the traffic splitting happens on the client side, so the ingress pod has to be injected with the Linkerd proxy for the traffic split to work.