replica with one external IP.

Does this accomplish so that, any external http/80 request to 192.168.0.155
get shard among two containers that have IP of 172.16.0.10 and 172.16.0.15 ?

Thanks.

kind: Service
apiVersion: v1
metadata:
  name: nginx
spec:
  selector:
    app: nginx
  ports:
    - protocol: TCP
      port: 80
      targetPort: 9376
      nodePort: 30061
  clusterIP: 10.160.0.31
  loadBalancerIP: 172.16.0.1
  type: LoadBalancer
status:
  loadBalancer:
    ingress:
      - ip: 192.168.0.155

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to