Abort rules

The following modification to a virtual service will inject an HTTP 400 code for 5% of the requests and abort instead of terminating to simulate a failure:

spec:
hosts:
- ratings
http:
- fault:
abort:
percentage:
value: 0.05
httpStatus: 400
route:
- destination:
host: ratings
subset: v1

Next, we'll discuss the service entry feature.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.205.223