Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (18 sloc) 456 Bytes
apiVersion: v1
kind: Service
metadata:
name: backend-service
labels:
app: graphviz
tier: backend
spec:
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: backend