apiVersion: v1
kind: Service
metadata:
  name: outbound-call
  labels:
    service: caller-deployment
    role: caller
    group: agent-tester-microservice
spec:
  # Uncomment any of the two for exposing the outbound call api
  # comment or delete the following line if you want to use a LoadBalancer
  # type: NodePort 
  # if your cluster supports it, uncomment the following to automatically create
  # an external load-balanced IP for the frontend service.
  # type: LoadBalancer
  ports:
  - port: 9080
    protocol: TCP
    name: http
  - port: 9443
    protocol: TCP
    name: https
  selector:
    service: caller-deployment
    role: caller
    group: agent-tester-microservice