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.

Challenge: Add a random failure

Challenge: Add a random failure - Kubernetes Tutorial

From the course: Kubernetes: Service Mesh with Istio

Start my 1-month free trial

Challenge: Add a random failure

(whooshing music) - [Instructor] In this module, we're going to look at an abort challenge. We're going to do more on abort challenge description. Really this is a pretty simple little project. We're going to take the previously created abort virtual service and we're going to modify it, because in the past every time we triggered an abort using a cookie, we got an abort, but what we want to do is actually look at something that's a little bit more realistic and in order to see that change, we're going to select a 50% impact to the service. So every time we run with our cookies set, we're only going to see every other time or approximately every other time abort the connection and every other other time, we'll still see our version result out of the command. So, the simplest thing, again, is to take the virtual service that we used for the abort module and modify it to run 50% of the time.

Contents