zh-translation: content/zh/docs/examples/microservices-istio/bookinfo… (#9227)

* zh-translation: content/zh/docs/examples/microservices-istio/bookinfo-kubernetes/index.md

* fix: typo
This commit is contained in:
youhonglian 2021-03-15 14:17:37 +08:00 committed by GitHub
parent 3f84be8dfb
commit 75d16cf303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,8 @@ title: 使用 Kubernetes 运行 Bookinfo
overview: 在 Kubernetes 中部署使用 ratings 微服务的 Bookinfo 应用。
weight: 30
owner: istio/wg-docs-maintainers
test: no
---
{{< boilerplate work-in-progress >}}
@ -78,7 +80,7 @@ weight: 30
reviews-v1-77c65dc5c6-r55tl 1/1 Running 0 49s
{{< /text >}}
1. 部署测试 pod[sleep]({{< github_tree >}}/samples/sleep),用来向您的微服务发送请求:
1. 在服务达到 `Running` 状态后,部署测试 Pod[sleep]({{< github_tree >}}/samples/sleep),用来向您的微服务发送请求:
{{< text bash >}}
$ kubectl apply -f {{< github_file >}}/samples/sleep/sleep.yaml
@ -142,6 +144,12 @@ service/productpage patched
### 更新 `/etc/hosts` 配置文件{#update-your-etc-hosts-configuration-file}
1. 获取名为 `bookinfo` 的 Kubernetes Ingress 的 IP 地址:
{{< text bash >}}
$ kubectl get ingress bookinfo
{{< /text >}}
1. 将以下命令的输出内容追加到 `/etc/hosts` 文件。您应当具有[超级用户](https://en.wikipedia.org/wiki/Superuser)权限,并且可能需要使用 [`sudo`](https://en.wikipedia.org/wiki/Sudo) 来编辑 `/etc/hosts`
{{< text bash >}}