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 >}}