Skip to content

Commit

Permalink
docs: update configuration kick in tips (#4479)
Browse files Browse the repository at this point in the history
* docs: update configuration kick in tips

Signed-off-by: zirain <[email protected]>

* lint

Signed-off-by: zirain <[email protected]>

* update

Signed-off-by: zirain <[email protected]>

---------

Signed-off-by: zirain <[email protected]>
  • Loading branch information
zirain authored Oct 21, 2024
1 parent 70c568b commit 26ec49a
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 41 deletions.
10 changes: 10 additions & 0 deletions site/content/en/latest/boilerplates/rollout-envoy-gateway.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
---

> After updating the `ConfigMap`, you will need to wait the configuration kicks in. <br/>
> You can **force** the configuration to be reloaded by restarting the `envoy-gateway` deployment.
>
> ```shell
> kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
> ```
>
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}
* After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in

```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}
## Testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}
After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in:

```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}
### Enable Open Telemetry sink in Envoy Gateway
Expand Down Expand Up @@ -157,11 +153,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}
After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in:

```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}
Verify OTel-Collector metrics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,4 @@ data:
{{% /tab %}}
{{< /tabpane >}}
After updating the ConfigMap, you will need to restart the envoy-gateway deployment so the configuration kicks in:
```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}
* After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in
```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}
## Create gateway for TLS termination
Expand Down
6 changes: 1 addition & 5 deletions site/content/en/latest/tasks/traffic/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}
* After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in

```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}
## Testing
Expand Down
12 changes: 2 additions & 10 deletions site/content/en/latest/tasks/traffic/global-rate-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}

* After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in

```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}

## Rate Limit Specific User

Expand Down Expand Up @@ -1287,11 +1283,7 @@ data:
{{% /tab %}}
{{< /tabpane >}}

* After updating the `ConfigMap`, you will need to restart the `envoy-gateway` deployment so the configuration kicks in

```shell
kubectl rollout restart deployment envoy-gateway -n envoy-gateway-system
```
{{< boilerplate rollout-envoy-gateway >}}

[Global Rate Limiting]: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/other_features/global_rate_limiting
[Local rate limiting]: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/other_features/local_rate_limiting
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/shortcodes/boilerplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{- $pattern := printf "%s*" $name -}}
{{- $resource := $bundle.Resources.GetMatch $pattern -}}
{{- with $resource -}}
{{- .Content | markdownify -}}
{{- .Content -}}
{{- else -}}
{{- errorf "Could not find boilerplate '%s' (%s)" $name $position -}}
{{- end -}}
Expand Down
3 changes: 3 additions & 0 deletions tools/make/docs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ docs-check-links: # Check for broken links in the docs
@$(LOG_TARGET)
linkinator site/public/ -r --concurrency 25 --skip $(LINKINATOR_IGNORE)

docs-markdown-lint:
markdownlint -c .github/markdown_lint_config.json site/content/*

release-notes-docs: $(tools/release-notes-docs)
@$(LOG_TARGET)
@for file in $(wildcard release-notes/*.yaml); do \
Expand Down

0 comments on commit 26ec49a

Please sign in to comment.