课程: Kubernetes: Service Mesh with Istio

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Fault injection

Fault injection

- [Instructor] In this video, we'll talk about fault injection, a fancy term for purposely breaking parts of your app to see how it handles problems. Think of it this way, your app is working fine right now, but what happens when one part of it slows down or just stops working? How will your system react? Will it recover or will everything crash and burn? fault injection helps us answer those questions by simulating real-world issues like delays and failures. We'll be testing this out on the Bookinfo application. First, we'll introduce a delay to see how the app handles slowness. Then we'll take it up a notch and simulate a complete service failure. Ready? Let's go. First up, let's make one of the services in our app super slow to see what happens. To do this, we'll add a 15-seconds delay to the rating service. And this is only for our user Jasmine. Everyone else, their app will run like normal. We do this by creating a virtual service in Istio. In this configuration, we add an ATTP…

内容