Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (22 sloc) 671 Bytes
apiVersion: v1
kind: Service
metadata:
name: frontend-service
labels:
app: graphviz
tier: frontend
spec:
# More details on LoadBalancer services here:
# http://kubernetes.io/v1.1/docs/user-guide/services.html#type-loadbalancer
# https://cloud.google.com/container-engine/docs/load-balancer
type: LoadBalancer
ports:
# More details on the Service ports here:
# http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_serviceport
# The port that this service should serve on, more info here:
- port: 80
# The port that should be targeted on the Pods
targetPort: 8080
selector:
app: graphviz
tier: frontend