Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
  • Loading branch information
yuluo-yx committed Apr 9, 2024
1 parent afc55eb commit 9f20889
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
12 changes: 5 additions & 7 deletions site/content/en/latest/tasks/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ You can also test the same functionality by sending traffic to the External IP.
Envoy service, run:

```shell
export GATEWAY_HOST=$(kubectl get svc/${ENVOY_SERVICE} -n envoy-gateway-system -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
export GATEWAY_HOST=$(kubectl get gateway/eg -o jsonpath='{.status.addresses[0].value}')
```

In certain environments, the load balancer may be exposed using a hostname, instead of an IP address. If so, replace
Expand All @@ -93,15 +93,16 @@ curl --verbose --header "Host: www.example.com" http://$GATEWAY_HOST/get
```

{{% /tab %}}
{{< /tabs >}}

{{% tab name="Clean-Up" %}}
## Clean-Up

Use the steps in this section to uninstall everything from the quickstart.
Use the steps in this section to uninstall everything from the quickstart guide.

Delete the GatewayClass, Gateway, HTTPRoute and Example App:

```shell
kubectl delete -f https://github.com/envoyproxy/gateway/releases/download/latest/quickstart.yaml --ignore-not-found=true
kubectl delete -f https://github.com/envoyproxy/gateway/releases/download/v1.0.0/quickstart.yaml --ignore-not-found=true
```

Delete the Gateway API CRDs and Envoy Gateway:
Expand All @@ -110,9 +111,6 @@ Delete the Gateway API CRDs and Envoy Gateway:
helm uninstall eg -n envoy-gateway-system
```

{{% /tab %}}
{{< /tabs >}}

## Next Steps

Checkout the [Developer Guide](../contributions/develop) to get involved in the project.
8 changes: 3 additions & 5 deletions site/content/en/v1.0.0/user/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ You can also test the same functionality by sending traffic to the External IP.
Envoy service, run:

```shell
export GATEWAY_HOST=$(kubectl get svc/${ENVOY_SERVICE} -n envoy-gateway-system -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
export GATEWAY_HOST=$(kubectl get gateway/eg -o jsonpath='{.status.addresses[0].value}')
```

In certain environments, the load balancer may be exposed using a hostname, instead of an IP address. If so, replace
Expand All @@ -93,8 +93,9 @@ curl --verbose --header "Host: www.example.com" http://$GATEWAY_HOST/get
```

{{% /tab %}}
{{< /tabs >}}

{{% tab name="Clean-Up" %}}
## Clean-Up

Use the steps in this section to uninstall everything from the quickstart guide.

Expand All @@ -110,9 +111,6 @@ Delete the Gateway API CRDs and Envoy Gateway:
helm uninstall eg -n envoy-gateway-system
```

{{% /tab %}}
{{< /tabs >}}

## Next Steps

Checkout the [Developer Guide](../contributions/develop) to get involved in the project.

0 comments on commit 9f20889

Please sign in to comment.