[zh] resync guestbook/YAMLs
parent
ed23f394e2
commit
afe5fee803
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue