From the course: Kubernetes: Service Mesh with Istio

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating advanced route rules with Istio

Creating advanced route rules with Istio - Kubernetes Tutorial

From the course: Kubernetes: Service Mesh with Istio

Start my 1-month free trial

Creating advanced route rules with Istio

- [Instructor] One common routing differentiator is to actually use a cookie or some other header based information to redirect traffic. Another option would be to use the actual URI path or any of a number of other possible pathways into the routing environment. In our module directory here we do an ls. We have an advanced routing file. Do a more on advanced routing. We see here that we're going to do a couple things. First we're going to create another target. We have to have another application in order to forward traffic. We can test the classic Kubernetes service to see that by default it's normal load balancing is actually round-robin. So when we do this curl that was just going to loop through, we should see both version one and version two show up intermingled out of that particular output. If we then change our service resource, our virtual service resource, our routing resource, and hit the resource through the virtual service resource where we have a specific regular…

Contents