From 9a80a9e3610b39536bb42040e0f97d9913388a3d Mon Sep 17 00:00:00 2001 From: yuandongx Date: Tue, 5 Jan 2021 04:36:22 +0000 Subject: [PATCH] output is incorret. --- content/zh/docs/tutorials/stateless-application/guestbook.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/tutorials/stateless-application/guestbook.md b/content/zh/docs/tutorials/stateless-application/guestbook.md index 5562745d70..0343c58f44 100644 --- a/content/zh/docs/tutorials/stateless-application/guestbook.md +++ b/content/zh/docs/tutorials/stateless-application/guestbook.md @@ -114,6 +114,7 @@ The manifest file, included below, specifies a Deployment controller that runs a ```shell kubectl get pods ``` + @@ -149,7 +150,7 @@ Replace POD-NAME with the name of your Pod. ### 创建 Redis 主节点的服务 留言板应用程序需要往 Redis 主节点中写数据。因此,需要创建 [Service](/zh/docs/concepts/services-networking/service/) 来代理 Redis 主节点 Pod 的流量。Service 定义了访问 Pod 的策略。 @@ -402,7 +403,7 @@ Some cloud providers, like Google Compute Engine or Google Kubernetes Engine, su ``` NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE - frontend ClusterIP 10.0.0.112 80:31323/TCP 6s + frontend NodePort 10.0.0.112 80:31323/TCP 6s kubernetes ClusterIP 10.0.0.1 443/TCP 4m redis-master ClusterIP 10.0.0.151 6379/TCP 2m redis-slave ClusterIP 10.0.0.223 6379/TCP 1m