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

Modifying routes for Canary deployments - Kubernetes Tutorial

From the course: Kubernetes: Service Mesh with Istio

Start my 1-month free trial

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…

Contents