[zh] resync guestbook/YAMLs

pull/34597/head
Michael 2022-06-25 17:49:57 +08:00
parent ed23f394e2
commit afe5fee803
6 changed files with 9 additions and 10 deletions

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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: