From 449825a54d817a50cb52107fec3cfce94d12b410 Mon Sep 17 00:00:00 2001 From: Meng Date: Mon, 23 Oct 2023 15:09:03 +0800 Subject: [PATCH] Fix broken links in docs (#2038) * Fix broken links in grafana-integration.md Signed-off-by: Meng * Fix broken links in customize-envoyproxy.md Signed-off-by: Meng --------- Signed-off-by: Meng --- site/content/en/latest/user/customize-envoyproxy.md | 7 ++++--- site/content/en/latest/user/grafana-integration.md | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/site/content/en/latest/user/customize-envoyproxy.md b/site/content/en/latest/user/customize-envoyproxy.md index 6e272874e52..ef894817ea6 100644 --- a/site/content/en/latest/user/customize-envoyproxy.md +++ b/site/content/en/latest/user/customize-envoyproxy.md @@ -55,7 +55,7 @@ After you apply the config, you should see the replicas of envoyproxy changes to And also you can dynamically change the value. ``` shell -kubectl get deployment envoy-gateway +kubectl get deployment -l gateway.envoyproxy.io/owning-gateway-name=eg ``` ## Customize EnvoyProxy Image @@ -310,12 +310,13 @@ spec: EOF ``` -You can use [egctl translate](https://gateway.envoyproxy.io/latest/user/egctl.html#validating-gateway-api-configuration) +You can use [egctl translate][] to get the default xDS Bootstrap configuration used by Envoy Gateway. After applying the config, the bootstrap config will be overridden by the new config you provided. Any errors in the configuration will be surfaced as status within the `GatewayClass` resource. -You can also validate this configuration using [egctl translate](https://gateway.envoyproxy.io/latest/user/egctl.html#validating-gateway-api-configuration). +You can also validate this configuration using [egctl translate][]. [Gateway API documentation]: https://gateway-api.sigs.k8s.io/ [EnvoyProxy]: https://gateway.envoyproxy.io/latest/api/config_types.html#envoyproxy +[egctl translate]: https://gateway.envoyproxy.io/latest/user/egctl/#validating-gateway-api-configuration diff --git a/site/content/en/latest/user/grafana-integration.md b/site/content/en/latest/user/grafana-integration.md index 069f8e7ada8..4002d02633f 100644 --- a/site/content/en/latest/user/grafana-integration.md +++ b/site/content/en/latest/user/grafana-integration.md @@ -54,11 +54,11 @@ Envoy Gateway has examples of dashboard for you to get started: ![Envoy Global](/img/envoy-global-dashboard.png) -### [Envoy Clusters]((https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/grafana/dashboards/envoy-clusters.json)) +### [Envoy Clusters](https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/grafana/dashboards/envoy-clusters.json) ![Envoy Clusters](/img/envoy-clusters-dashboard.png) -### [Envoy Pod Resources]((https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/grafana/dashboards/envoy-pod-resource.json)) +### [Envoy Pod Resources](https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/grafana/dashboards/envoy-pod-resource.json) ![Envoy Pod Resources](/img/envoy-pod-resources-dashboard.png)