From the course: Kubernetes: Service Mesh with Istio
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Modifying routes for Canary deployments - Kubernetes Tutorial
From the course: Kubernetes: Service Mesh with Istio
Modifying routes for Canary deployments
- When deploying with canaries, often we want to heavily wage towards, the current running version, and only send a small amount of traffic to the new version. So if you look in our module directory here, we have a canary descriptor, and we have a virtual service description for that canary. Lets look at the canary file first, moreCanary.md, and here we'll try to describe a little bit, about the deployment process, but really we want to do, a 10:90 waiting of our service initially, so 10 percent new, 90 percent old; and then we're going to manipulate that, to flip it to 90:10. In both cases we're also going to increase the number of, back end pod resources, but right now, we normally have a one to one relationship, so we have one pod of the version one, one pod of the version two, and we're going to go into the deployment, and we're going to update the deployment to at least, increase the number of version one pods, to a larger number; so rather than one, we have more than one. Then…
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
-
-
-
-
-