From the course: Kubernetes: Service Mesh with Istio
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Virtual services - Kubernetes Tutorial
From the course: Kubernetes: Service Mesh with Istio
Virtual services
- [Instructor] Let's dive into something super cool. Virtual services in Istio. Think of it like this. If your app is a busy city, the virtual services is the traffic controller, making sure every car or request goes exactly where it needs to be. At its apps, a virtual service is like a map that's always changing. It tells your traffic, your app request I mean, how to get to the right place, but here's the best part, it's not stuck with one route. It's super flexible and it lets you create rules for all kinds of situation. Now, let's talk about what makes virtual service so awesome. The routing rules. These are the rules that decide where your apps traffic goes. For example, you can send traffic based on headers like who is the user, or you can route it based on a URL, like when someone visits /v2/orders. Alternatively, you can route by action like a GET or POST request, and you can even choose specific ports to send traffic through. Let's look at an example of a virtual service…
Contents
-
-
-
-
-
(Locked)
Introduction to traffic management4m 4s
-
(Locked)
Virtual services3m 56s
-
(Locked)
Destination rules4m 6s
-
(Locked)
Waypoint proxies4m 29s
-
Request routing through VirtualService and destination rules9m 31s
-
(Locked)
Traffic shifting7m 56s
-
(Locked)
Fault injection6m 18s
-
(Locked)
Timeouts and retries8m 26s
-
(Locked)
Circuit breaking8m 15s
-
(Locked)
-
-
-