mateeyow
By:
mateeyow

Kubernetes External Load Balancer Service

February 2, 2016 3.3k views
Clustering Docker Load Balancing Networking

Hi, I'm building a container cluster using CoreOs and Kubernetes, and I've seend that in order to expose a Pod to the world you have to create a Service with Type: LoadBalancer. I was wondering how to achieve this with Floating IP. I can't seem to find any documentation about it.

1 comment
4 Answers

I note the addition of https://www.digitalocean.com/products/load-balancer/

So... the service is there when k8s wants to support it.

I have 3 master with etcd configured. Is there any basic template to use for confd to update haproxy dynamically with server and pod ports?

You have two options here :

  1. Make your IP static and hardcode that in Service configuration file
  2. Make an Ingress controller and define your internal service in ingress, this way your ingress will redirect your traffic to your internal service
Have another answer? Share your knowledge.