TrafficSplit + Ingress #8726
-
How do I make the TrafficSplit/ServiceProfile work with ingress? We have setup 3 services and created the TrafficSplit config, we tested it and worked well internally but not outside.
The ServiceProfile was created automatically by the TrafficSplit
If I call my root service inside a pod in the cluster, it's working and we can see the traffic being splitted for the three services we configured. Example:
ExternalService
Ingress manifest
My /etc/hosts
Example calling from outside passing by Ingress.
I have the impression the TrafficSplit is being ignored by Ingress for some reason. Any suggestion how to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @lucasgrvarela! Traffic splitting is done on the client side, which means it only happens when the client is meshed. This is why you'll see it working for internal traffic (where the client is a meshed pod) but not for external traffic (where the client is outside the cluster). |
Beta Was this translation helpful? Give feedback.
-
Hi @adleong thank you for the answer. |
Beta Was this translation helpful? Give feedback.
Hi @lucasgrvarela! Traffic splitting is done on the client side, which means it only happens when the client is meshed. This is why you'll see it working for internal traffic (where the client is a meshed pod) but not for external traffic (where the client is outside the cluster).