apiVersion: v1
kind: Service
metadata:
  labels:
    app: hasura
  name: hasura
  namespace: essential-genes-dev
spec:
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8080
  selector:
    app: hasura
  #
  # Note: 
  # To use an Ingress Controller
  # the type should be set as ClusterIP
  # rather than NodePort or LoadBalancer.
  #
  type: ClusterIP
