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.

Injecting faults into service response

Injecting faults into service response - Kubernetes Tutorial

From the course: Kubernetes: Service Mesh with Istio

Start my 1-month free trial

Injecting faults into service response

- [Instructor] In this module, we're going to start looking at fault injection. We're going to do an ls first just to see what we've got here. Then we're going to do more on our fault injection file. Now the reason that we think about fault injection is that our applications are starting to grow, and so we want to start injecting faults into them, things like, in this case, we're just going to inject a delay to see how the system is going to interact based on that injected fault. We do have a quick set of example commands here in case you've cleaned up the environment previously, we can rerun these to recreate the gateway route virtualservice to the actual service stack that we need to work with, and then we're going to change the virtualservice manifest. Now this particular virtualservice manifest, if you copy these three commands will actually already do this, which is fine, because we really want to look at the result of this change. The virtualservice change that we're doing…

Contents