From 5312777dcc1afa945f11f5dcb87be4b178386643 Mon Sep 17 00:00:00 2001 From: CharliePu Date: Wed, 22 Jun 2022 03:12:23 +0800 Subject: [PATCH] Fix document omissions. (#11393) * Fix document omissions. * Fix document omissions. --- .../docs/tasks/traffic-management/circuit-breaking/index.md | 4 ++-- .../docs/tasks/traffic-management/circuit-breaking/snips.sh | 4 ++-- .../docs/tasks/traffic-management/circuit-breaking/index.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/tasks/traffic-management/circuit-breaking/index.md b/content/en/docs/tasks/traffic-management/circuit-breaking/index.md index cb5ebce2c4..fd420b41b8 100644 --- a/content/en/docs/tasks/traffic-management/circuit-breaking/index.md +++ b/content/en/docs/tasks/traffic-management/circuit-breaking/index.md @@ -279,6 +279,6 @@ one connection and request concurrently, you should see some failures when the 1. Shutdown the [httpbin]({{< github_tree >}}/samples/httpbin) service and client: {{< text bash >}} - $ kubectl delete deploy httpbin fortio-deploy - $ kubectl delete svc httpbin fortio + $ kubectl delete -f @samples/httpbin/sample-client/fortio-deploy.yaml@ + $ kubectl delete -f @samples/httpbin/httpbin.yaml@ {{< /text >}} diff --git a/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh b/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh index 9c06561418..96ace1c55d 100644 --- a/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh +++ b/content/en/docs/tasks/traffic-management/circuit-breaking/snips.sh @@ -229,6 +229,6 @@ kubectl delete destinationrule httpbin } snip_cleaning_up_2() { -kubectl delete deploy httpbin fortio-deploy -kubectl delete svc httpbin fortio +kubectl delete -f samples/httpbin/sample-client/fortio-deploy.yaml +kubectl delete -f samples/httpbin/httpbin.yaml } diff --git a/content/zh/docs/tasks/traffic-management/circuit-breaking/index.md b/content/zh/docs/tasks/traffic-management/circuit-breaking/index.md index a22d35f17b..23f3f6cf7e 100644 --- a/content/zh/docs/tasks/traffic-management/circuit-breaking/index.md +++ b/content/zh/docs/tasks/traffic-management/circuit-breaking/index.md @@ -260,6 +260,6 @@ test: yes 1. 下线 [httpbin]({{< github_tree >}}/samples/httpbin) 服务和客户端: {{< text bash >}} - $ kubectl delete deploy httpbin fortio-deploy - $ kubectl delete svc httpbin + $ kubectl delete -f @samples/httpbin/sample-client/fortio-deploy.yaml@ + $ kubectl delete -f @samples/httpbin/httpbin.yaml@ {{< /text >}}