Skip to content

Commit cd04ec7

Browse files
authored
Merge pull request #25951 from yuandongx/patch-13
[zh]The output is incorret.
2 parents 6a2a639 + 9a80a9e commit cd04ec7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ The manifest file, included below, specifies a Deployment controller that runs a
114114
```shell
115115
kubectl get pods
116116
```
117+
117118
<!--
118119
The response should be similar to this:
119120
-->
@@ -149,7 +150,7 @@ Replace POD-NAME with the name of your Pod.
149150
### 创建 Redis 主节点的服务
150151

151152
<!--
152-
The guestbook applications needs to communicate to the Redis master to write its data. You need to apply a [Service](/docs/concepts/services-networking/service/) to proxy the traffic to the Redis master Pod. A Service defines a policy to access the Pods.
153+
The guestbook application needs to communicate to the Redis master to write its data. You need to apply a [Service](/docs/concepts/services-networking/service/) to proxy the traffic to the Redis master Pod. A Service defines a policy to access the Pods.
153154
-->
154155
留言板应用程序需要往 Redis 主节点中写数据。因此,需要创建 [Service](/zh/docs/concepts/services-networking/service/) 来代理 Redis 主节点 Pod 的流量。Service 定义了访问 Pod 的策略。
155156

@@ -402,7 +403,7 @@ Some cloud providers, like Google Compute Engine or Google Kubernetes Engine, su
402403

403404
```
404405
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
405-
frontend ClusterIP 10.0.0.112 <none> 80:31323/TCP 6s
406+
frontend NodePort 10.0.0.112 <none> 80:31323/TCP 6s
406407
kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 4m
407408
redis-master ClusterIP 10.0.0.151 <none> 6379/TCP 2m
408409
redis-slave ClusterIP 10.0.0.223 <none> 6379/TCP 1m

0 commit comments

Comments
 (0)