k3s/examples/guestbook/frontend-service.yaml

16 lines
358 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
name: 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
2015-07-10 20:25:43 +00:00
- port: 80
selector:
name: frontend