mirror of https://github.com/istio/istio.io.git
fix the virtual-services fault injection error in the YAML (#2109)
fix the virtual-services fault injection error in the YAML
This commit is contained in:
parent
056bf27879
commit
453012d3ab
|
@ -438,6 +438,13 @@ spec:
|
|||
fault:
|
||||
delay:
|
||||
fixedDelay: 5s
|
||||
abort:
|
||||
percent: 10
|
||||
httpStatus: 400
|
||||
route:
|
||||
- destination:
|
||||
host: ratings
|
||||
subset: v1
|
||||
{{< /text >}}
|
||||
|
||||
可以参考[错误注入任务](/zh/docs/tasks/traffic-management/fault-injection/),进行这方面的实际体验。
|
||||
|
|
Loading…
Reference in New Issue