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:
eshujiushiwo 2018-08-02 16:58:41 +08:00 committed by istio-bot
parent 056bf27879
commit 453012d3ab
1 changed files with 7 additions and 0 deletions

View File

@ -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/),进行这方面的实际体验。