kind: Service
apiVersion: v1
metadata:
  name: ingress-nginx
  namespace: ingress-nginx
  annotations:
    kubernetes.io/elb.class: union
    kubernetes.io/elb.id: 3cab7708-c87f-4466-b9b9-b0821d05a92d
    kubernetes.io/elb.lb-algorithm: ROUND_ROBIN
spec:
  #We need set this into 'Local' since we need get the client IP of elb.
  externalTrafficPolicy: Local
  ports:
    - port: 443
      name: https
      targetPort: 443
    - port: 80
      name: http
      targetPort: 80
    - port: 50000
      name: jenkins-tunnel-port
      targetPort: 50000
