Can I Connect OVH Loadbalancer to my Kubernetes Cluster from OVH Cloud provider

9/30/2018

I have Kubernetes Cluster v1.10 Over Centos 7 Over OVH Cloud Provider's Servers .

As I knew OVH does not Provide Loadbalancer Component Directly to Kubernetes

And I want to buy Loadbalancer Component From OVH From this Link and connect to kubernetes Cluster .

Can I connect Loadbalancer to Kubernetes?

And is there any tutorial?

Thank You :D

-- AhmedMItman
kubernetes
load-balancing
ovh

2 Answers

9/30/2018

Yes, you can.

How, on the other side, is not an obvious one. My suggestion would be to make it part of your kubernetes infra provisioning with terraform. Using https://www.terraform.io/docs/providers/ovh/r/iploadbalancing_tcp_farm_server.html you can manage endpoints for your loadbalancer based on instances / hosts provisioned either manually or with openstack provider. That's how I do it on our OVH Kube cluster.

-- Radek 'Goblin' Pieczonka
Source: StackOverflow

9/30/2018

Yes.

You can follow this guide from OVH in terms setting up your load balancer.

And in terms of Kubernetes you'd either want to create a Kubernetes Ingress exposed on a NodePort, this is a good tutorial for that, or you can also expose your services directly on a NodePort and point your load balancer's backend to all the nodes in your cluster on that specific NodePort.

I would also familiarize with the Services abstraction in Kubernetes.

-- Rico
Source: StackOverflow