[zh] Resync connecting-frontend-backend

This commit is contained in:
Qiming Teng
2021-01-30 12:32:43 +08:00
parent 9ade714aab
commit 15be3b1c7b
8 changed files with 152 additions and 114 deletions
@@ -0,0 +1,26 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: backend
spec:
selector:
matchLabels:
app: hello
tier: backend
track: stable
replicas: 3
template:
metadata:
labels:
app: hello
tier: backend
track: stable
spec:
containers:
- name: hello
image: "gcr.io/google-samples/hello-go-gke:1.0"
ports:
- name: http
containerPort: 80
...