apiVersion: v1
kind: Service
metadata:
  name: frontend-service
  labels:
    app: alundco
    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: alundco
    tier: frontend
