zh-translation:/boilerplates/start-httpbin-service.md (#5674)

* translate docs

* translate docs

* translate docs
This commit is contained in:
JHDST 2019-11-14 21:25:46 +08:00 committed by Istio Automation
parent cd3d577e17
commit aabdd85a34
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
---
---
* Start the [httpbin]({{< github_tree >}}/samples/httpbin) sample.
* 启动 [httpbin]\({{< github_tree >}}/samples/httpbin) 样例程序。
If you have enabled [automatic sidecar injection](/docs/setup/additional-setup/sidecar-injection/#automatic-sidecar-injection), deploy the `httpbin` service:
如果您启用了 [sidecar 自动注入](/zh/docs/setup/additional-setup/sidecar-injection/#automatic-sidecar-injection),通过以下命令部署 `httpbin` 服务:
{{< text bash >}}
$ kubectl apply -f @samples/httpbin/httpbin.yaml@
{{< /text >}}
Otherwise, you have to manually inject the sidecar before deploying the `httpbin` application:
否则,您必须在部署 `httpbin` 应用程序前进行手动注入,部署命令如下:
{{< text bash >}}
$ kubectl apply -f <(istioctl kube-inject -f @samples/httpbin/httpbin.yaml@)