kind: Service
apiVersion: v1
metadata:
  name: ingress-nginx
  namespace: ingress-nginx
  annotations:
    kubernetes.io/elb.class: union
    kubernetes.io/elb.id: db277203-6d89-47fd-91bd-69b29f9f0b65
    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
  loadBalancerIP: 49.4.7.167
  ports:
    - port: 443
      name: https
      targetPort: 443
    - port: 80
      name: http
      targetPort: 80
    - port: 30873
      name: download-repo-server
      targetPort: 30873
    - port: 30022
      name: download-repo-ssh
      targetPort: 30022
