Skip to content

Commit

Permalink
fix stream redirect commands (#842)
Browse files Browse the repository at this point in the history
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
  • Loading branch information
eguzki authored Aug 28, 2024
1 parent 1ebb545 commit a980d69
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/user-guides/authenticated-rl-for-app-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ curl -H 'Host: api.toystore.com' http://$GATEWAY_URL/toy -i
> **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost:
>
> ```sh
> kubectl port-forward -n istio-system service/istio-ingressgateway-istio 9080:80 2>&1 >/dev/null &
> kubectl port-forward -n istio-system service/istio-ingressgateway-istio 9080:80 >/dev/null 2>&1 &
> export GATEWAY_URL=localhost:9080
> ```
> ```sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ It should return `200 OK`.
> **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost:
>
> ```sh
> kubectl port-forward -n istio-system service/istio-ingressgateway-istio 9080:80 2>&1 >/dev/null &
> kubectl port-forward -n istio-system service/istio-ingressgateway-istio 9080:80 >/dev/null 2>&1 &
> export GATEWAY_URL=localhost:9080
> ```
> ```sh
Expand Down
4 changes: 2 additions & 2 deletions doc/user-guides/gateway-rl-for-cluster-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ EOF
Expose the gateways, respectively at the port numbers `9081` and `9082` of the local host:

```sh
kubectl port-forward -n istio-system service/external-istio 9081:80 2>&1 >/dev/null &
kubectl port-forward -n istio-system service/internal-istio 9082:80 2>&1 >/dev/null &
kubectl port-forward -n istio-system service/external-istio 9081:80 >/dev/null 2>&1 &
kubectl port-forward -n istio-system service/internal-istio 9082:80 >/dev/null 2>&1 &
```

Up to 5 successful (`200 OK`) requests every 10 seconds through the `external` ingress gateway (`*.io`), then `429 Too Many Requests`:
Expand Down
2 changes: 1 addition & 1 deletion doc/user-guides/simple-rl-for-app-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ curl -H 'Host: api.toystore.com' http://$GATEWAY_URL/toys -i
> **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost:
>
> ```sh
> kubectl port-forward -n istio-system service/istio-ingressgateway-istio 9080:80 2>&1 >/dev/null &
> kubectl port-forward -n istio-system service/istio-ingressgateway-istio 9080:80 >/dev/null 2>&1 &
> export GATEWAY_URL=localhost:9080
> ```
> ```sh
Expand Down

0 comments on commit a980d69

Please sign in to comment.