Files
website/docs/tutorials/stateless-application/guestbook/frontend-service.yaml
T
Ahmet Alp Balkan 3ee6599cc7 Import guestbook tutorial and manifest files (#4631)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-07 15:56:20 -07:00

19 lines
438 B
YAML

apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
app: guestbook
tier: frontend
spec:
# comment or delete the following line if you want to use a LoadBalancer
type: NodePort
# if your cluster supports it, uncomment the following to automatically create
# an external load-balanced IP for the frontend service.
# type: LoadBalancer
ports:
- port: 80
selector:
app: guestbook
tier: frontend