8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
17 lines
394 B
YAML
17 lines
394 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: frontend
|
|
labels:
|
|
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.
|
|
# type: LoadBalancer
|
|
ports:
|
|
# the port that this service should serve on
|
|
- port: 80
|
|
selector:
|
|
app: guestbook
|
|
tier: frontend
|