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 - Kubernetes Tutorial
From the course: Kubernetes: Service Mesh with Istio
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Ingress gateways and virtual services3m 47s
-
(Locked)
Configuring rules to link specific labels3m 9s
-
(Locked)
Creating advanced route rules with Istio4m 5s
-
(Locked)
Adjusting Istio load-balancing ratios3m 29s
-
(Locked)
Modifying routes for Canary deployments3m 36s
-
(Locked)
Challenge: Testing a new release1m 7s
-
(Locked)
Solution: Testing a new release1m 54s
-
-
-
-
-