Enhancements in clarity to access-application-cluster/connecting-frontend-backend.md (#25927)

* Enhancements in clarity to docs/tasks/access-application-cluster/connecting-frontend-backend.md

* Code review comments

* Reverting name of service due to backed value in Dockerimage
This commit is contained in:
Leonardo Murillo
2021-01-13 19:47:03 -06:00
committed by GitHub
parent ee4af3155c
commit f7b29716fd
9 changed files with 114 additions and 93 deletions
@@ -0,0 +1,27 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
spec:
selector:
matchLabels:
app: hello
tier: frontend
track: stable
replicas: 1
template:
metadata:
labels:
app: hello
tier: frontend
track: stable
spec:
containers:
- name: nginx
image: "gcr.io/google-samples/hello-frontend:1.0"
lifecycle:
preStop:
exec:
command: ["/usr/sbin/nginx","-s","quit"]
...