mirror of https://github.com/istio/istio.io.git
Added cleanup section for fault-injection and request-routing. (#536)
* Added cleanup section for fault-injection and request-routering. * fixing file names
This commit is contained in:
parent
9e3ef16a70
commit
663255158f
|
|
@ -110,6 +110,16 @@ continue without any errors.
|
|||
(Left as an exercise for the reader - change the delay rule to
|
||||
use a 2.8 second delay and then run it against the v3 version of reviews.)
|
||||
|
||||
## Cleanup
|
||||
|
||||
* Remove the application routing rules:
|
||||
|
||||
```bash
|
||||
istioctl delete -f samples/bookinfo/kube/route-rule-all-v1.yaml
|
||||
istioctl delete -f samples/bookinfo/kube/route-rule-reviews-test-v2.yaml
|
||||
istioctl delete -f samples/bookinfo/kube/route-rule-ratings-test-delay.yaml
|
||||
```
|
||||
|
||||
## What's next
|
||||
|
||||
* Learn more about [fault injection]({{home}}/docs/concepts/traffic-management/fault-injection.html).
|
||||
|
|
|
|||
|
|
@ -169,6 +169,24 @@ on a header (i.e., a user cookie) in a request.
|
|||
Once the v2 version has been tested to our satisfaction, we could use Istio to send traffic from
|
||||
all users to v2, optionally in a gradual fashion. We'll explore this in a separate task.
|
||||
|
||||
## Cleanup
|
||||
|
||||
* Remove the application routing rules.
|
||||
|
||||
For Kubernetes-based setup, use the following command:
|
||||
|
||||
```bash
|
||||
istioctl delete -f samples/bookinfo/kube/route-rule-all-v1.yaml
|
||||
istioctl delete -f samples/bookinfo/kube/route-rule-reviews-test-v2.yaml
|
||||
```
|
||||
|
||||
For Consul-based setup, use the following command:
|
||||
|
||||
```bash
|
||||
istioctl delete -f samples/bookinfo/consul/route-rule-all-v1.yaml
|
||||
istioctl delete -f samples/bookinfo/consul/route-rule-reviews-test-v2.yaml
|
||||
```
|
||||
|
||||
## What's next
|
||||
|
||||
* Learn more about [request routing]({{home}}/docs/concepts/traffic-management/rules-configuration.html).
|
||||
|
|
|
|||
Loading…
Reference in New Issue