title: Using a single static IP address as LoadBalancerIP across multiple services with different ports
body: <p>I am trying to expose a stateful mongo replica set running on my cluster for outside access.</p>
  
  <p>I have three replicas and I have created a <code>LoadBalancer</code> service for each replica with the same <code>LoadBalancerIP</code> while incrementing the port sequentially from <code>10255</code> to <code>10257</code>.</p>
  
  <pre><code>    apiVersion: v1
      kind: Service
      metadata:
        name: mongo-service-0
        namespace: datastore
        labels:
          app: mongodb-replicaset
     spec:
        loadBalancerIP: staticip
        type: LoadBalancer
        externalTrafficPolicy: Local
        selector:
          statefulset.kubernetes.io/pod-name: mongo-mongodb-replicaset-0
        ports:
          - protocol: TCP
            port: 10255
            targetPort: 27017
  </code></pre>
  
  <p>The issue is that only one service <code>mongo-service-0</code> is deployed successfully with static IP, the other timeout after a while.</p>
  
  <p>What I am trying to figure out is if I can use a single static IP address as LoadBalancerIP across multiple services with different ports.</p>