kind: Service
apiVersion: v1
metadata:
  name: ingress-nginx
  namespace: ingress-nginx
  annotations:
    kubernetes.io/elb.class: union
    kubernetes.io/elb.id: cdf8c597-1508-4349-bc50-a7dbcf5f584e
    kubernetes.io/elb.lb-algorithm: SOURCE_IP
spec:
  #We need set this into 'Local' since we need get the client IP of elb.
  externalTrafficPolicy: Local
  loadBalancerIP: 121.36.60.253
  ports:
    - port: 443
      name: https
      targetPort: 443
    - port: 80
      name: http
      targetPort: 80
    - port: 30099
      name: toolsserver
      targetPort: 30099
    - port: 31873
      name: tools-rsync-server
      targetPort: 31873
    - port: 30873
      name: download-repo-server
      targetPort: 30873
    - port: 30022
      name: download-repo-ssh
      targetPort: 30022
    - port: 50000
      name: jenkins-tunnel-port
      targetPort: 50000
