You need to have a controller that watches Services and configures your own load-balancer. We can't know what kind of network architecture or equipment you have.
On Mar 5, 2017 7:16 PM, "Qian Zhang" <zhq527...@gmail.com> wrote: > Hi, > > I have set up an on-prem K8s cluster in my own infrastructure with 3 KVM > VMs, and the services of ClusterIP and NodePort types work very well. Now > I'd like to know if service of LoadBalance is supported in such on-prem > cluster, or it is only supported in on-cloud env (like: GCE, AWS)? > > And how does a load balancer pass the traffic from client to a K8s > cluster? Will it pass the traffic directly to the service's endpoint (pod)? > If so, how can a load balancer access the IP of the pod? Or will it > actually pass the traffic to the node first, and then kube-proxy on that > node will pass the traffic to the pod? If so, does that mean a service of > LoadBalancer type must be also NodePort type? > > > Thanks, > Qian > > -- > 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 kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.