diff --git a/content/zh-cn/examples/application/guestbook/frontend-deployment.yaml b/content/zh-cn/examples/application/guestbook/frontend-deployment.yaml index f97f20dab6..95f066586d 100644 --- a/content/zh-cn/examples/application/guestbook/frontend-deployment.yaml +++ b/content/zh-cn/examples/application/guestbook/frontend-deployment.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook +# 来源:https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: diff --git a/content/zh-cn/examples/application/guestbook/frontend-service.yaml b/content/zh-cn/examples/application/guestbook/frontend-service.yaml index 410c6bbaf2..6688f3b0c0 100644 --- a/content/zh-cn/examples/application/guestbook/frontend-service.yaml +++ b/content/zh-cn/examples/application/guestbook/frontend-service.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook +# 来源:https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: @@ -7,12 +7,11 @@ metadata: app: guestbook tier: frontend spec: - # if your cluster supports it, uncomment the following to automatically create - # an external load-balanced IP for the frontend service. + # 如果你的集群支持,请取消注释以下内容以自动为前端服务创建一个外部负载均衡 IP。 # type: LoadBalancer #type: LoadBalancer ports: - # the port that this service should serve on + # 此服务应使用的端口 - port: 80 selector: app: guestbook diff --git a/content/zh-cn/examples/application/guestbook/redis-follower-deployment.yaml b/content/zh-cn/examples/application/guestbook/redis-follower-deployment.yaml index c418cf7364..2d96e049a1 100644 --- a/content/zh-cn/examples/application/guestbook/redis-follower-deployment.yaml +++ b/content/zh-cn/examples/application/guestbook/redis-follower-deployment.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook +# 来源:https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: diff --git a/content/zh-cn/examples/application/guestbook/redis-follower-service.yaml b/content/zh-cn/examples/application/guestbook/redis-follower-service.yaml index 53283d35c4..f711f6b85a 100644 --- a/content/zh-cn/examples/application/guestbook/redis-follower-service.yaml +++ b/content/zh-cn/examples/application/guestbook/redis-follower-service.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook +# 来源:https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: @@ -9,7 +9,7 @@ metadata: tier: backend spec: ports: - # the port that this service should serve on + # 此服务应使用的端口 - port: 6379 selector: app: redis diff --git a/content/zh-cn/examples/application/guestbook/redis-leader-deployment.yaml b/content/zh-cn/examples/application/guestbook/redis-leader-deployment.yaml index 9c7547291c..3ddf6185ca 100644 --- a/content/zh-cn/examples/application/guestbook/redis-leader-deployment.yaml +++ b/content/zh-cn/examples/application/guestbook/redis-leader-deployment.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook +# 来源:https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: apps/v1 kind: Deployment metadata: diff --git a/content/zh-cn/examples/application/guestbook/redis-leader-service.yaml b/content/zh-cn/examples/application/guestbook/redis-leader-service.yaml index e04cc183d0..386f79e4f3 100644 --- a/content/zh-cn/examples/application/guestbook/redis-leader-service.yaml +++ b/content/zh-cn/examples/application/guestbook/redis-leader-service.yaml @@ -1,4 +1,4 @@ -# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook +# 来源:https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: