apiVersion: v1
kind: Service
metadata:
  labels:
    name: ohcs-es
  name: ohcs-es
spec:
  type: LoadBalancer 
  loadBalancerIP: 130.211.167.15
  ports:
    # The port that this service should serve on.
    - port: 80
      targetPort: 5000
      protocol: TCP
      name: ohcs
    - port: 9200
      targetPort: 9200
      protocol: TCP
      name: es9200
    - port: 9300
      targetPort: 9300
      protocol: TCP
      name: es9300 
  # Label keys and values that must match in order to receive traffic for this service.
  selector:
    app: "ohcs-es"
