mirror of https://github.com/istio/istio.io.git
Use route rules from samples/bookinfo/routing. (#1476)
This commit is contained in:
parent
352273d238
commit
4d4b297542
|
@ -27,7 +27,10 @@ For the format of the service account in Istio, please refer to the
|
|||
```command
|
||||
$ kubectl apply -f <(istioctl kube-inject -f @samples/bookinfo/kube/bookinfo-add-serviceaccount.yaml@)
|
||||
serviceaccount "bookinfo-productpage" created
|
||||
deployment "productpage-v1" configured
|
||||
deployment.extensions "productpage-v1" configured
|
||||
serviceaccount "bookinfo-reviews" created
|
||||
deployment.extensions "reviews-v2" configured
|
||||
deployment.extensions "reviews-v3" configured
|
||||
```
|
||||
|
||||
> If you are using a namespace other than `default`,
|
||||
|
@ -48,7 +51,7 @@ the `productpage` service.
|
|||
|
||||
Run the following command to set up the deny rule along with a handler and an instance.
|
||||
```command
|
||||
$ istioctl create -f @samples/bookinfo/kube/mixer-rule-deny-serviceaccount.yaml@
|
||||
$ istioctl create -f @samples/bookinfo/routing/mixer-rule-deny-serviceaccount.yaml@
|
||||
Created config denier/default/denyproductpagehandler at revision 2877836
|
||||
Created config checknothing/default/denyproductpagerequest at revision 2877837
|
||||
Created config rule/default/denyproductpage at revision 2877838
|
||||
|
@ -80,7 +83,7 @@ the `productpage` service.
|
|||
* Remove the mixer configuration:
|
||||
|
||||
```command
|
||||
$ istioctl delete -f @samples/bookinfo/kube/mixer-rule-deny-serviceaccount.yaml@
|
||||
$ istioctl delete -f @samples/bookinfo/routing/mixer-rule-deny-serviceaccount.yaml@
|
||||
```
|
||||
|
||||
* If you are not planning to explore any follow-on tasks, refer to the
|
||||
|
|
Loading…
Reference in New Issue