Skip to content

Commit 00cb19d

Browse files
authored
Merge pull request #29050 from hide-in-code/patch-2
Update guestbook.md
2 parents 6f1ecf9 + 7706786 commit 00cb19d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

content/zh/docs/tutorials/stateless-application/guestbook.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The manifest file, included below, specifies a Deployment controller that runs a
8989
1. Apply the Redis Deployment from the `redis-leader-deployment.yaml` file:
9090
-->
9191
1. 在下载清单文件的目录中启动终端窗口。
92-
2.`mongo-deployment.yaml` 文件中应用 MongoDB Deployment:
92+
2.`redis-leader-deployment.yaml` 文件中应用 Redis Deployment:
9393

9494
<!---
9595
for local testing of the content via relative file path
@@ -101,9 +101,9 @@ The manifest file, included below, specifies a Deployment controller that runs a
101101
```
102102

103103
<!--
104-
1. Query the list of Pods to verify that the MongoDB Pod is running:
104+
1. Query the list of Pods to verify that the Redis Pod is running:
105105
-->
106-
3. 查询 Pod 列表以验证 MongoDB Pod 是否正在运行:
106+
3. 查询 Pod 列表以验证 Redis Pod 是否正在运行:
107107

108108
```shell
109109
kubectl get pods
@@ -122,7 +122,7 @@ The manifest file, included below, specifies a Deployment controller that runs a
122122
<!--
123123
1. Run the following command to view the logs from the Redis leader Pod:
124124
-->
125-
4. 运行以下命令查看 MongoDB Deployment 中的日志:
125+
4. 运行以下命令查看 Redis Deployment 中的日志:
126126

127127
```shell
128128
kubectl logs -f deployment/redis-leader
@@ -136,7 +136,7 @@ The manifest file, included below, specifies a Deployment controller that runs a
136136
<!--
137137
The guestbook application needs to communicate to the Redis to write its data. You need to apply a [Service](/docs/concepts/services-networking/service/) to proxy the traffic to the Redis Pod. A Service defines a policy to access the Pods.
138138
-->
139-
留言板应用程序需要往 MongoDB 中写数据。因此,需要创建
139+
留言板应用程序需要往 Redis 中写数据。因此,需要创建
140140
[Service](/zh/docs/concepts/services-networking/service/) 来转发 Redis Pod
141141
的流量。Service 定义了访问 Pod 的策略。
142142

@@ -632,4 +632,3 @@ Deleting the Deployments and Services also deletes any running Pods. Use labels
632632
[MySQL 和 Wordpress 的持久卷](/zh/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/#visit-your-new-wordpress-blog)
633633
* 进一步阅读[连接应用程序](/zh/docs/concepts/services-networking/connect-applications-service/)
634634
* 进一步阅读[管理资源](/zh/docs/concepts/cluster-administration/manage-deployment/#using-labels-effectively)
635-

0 commit comments

Comments
 (0)