# Kubernetes on Ubuntu Bare Metal for multi host server. Does my idea make sense?

**URL:** <https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652>\
**Category:** General Discussions\
**Created:** [March 25, 2019, 10:46pm UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652 "2019-03-25T22:46:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentix1990](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@valentix1990](https://discuss.kubernetes.io/u/valentix1990)\
**Post date:** [March 25, 2019, 10:46pm UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652/1 "2019-03-25T22:46:48Z")

</div>

I would like to create a shared hosting bare metal server with Ubuntu. Several sites (lamp) on the same server orchestrated by Kubernetes. Is it the best choice? It’s possible? Can I have load balancing with MetalLB for example with a master and two nodes?

Thanks

---

<div class="post-metadata">

**Author:** ![rata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rata/32/18244_2.png) [@rata](https://discuss.kubernetes.io/u/rata)\
**Post date:** [March 25, 2019, 11:38pm UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652/2 "2019-03-25T23:38:19Z")

</div>

Hi!

Sorry, I’m confused and not sure I follow.

What do you mean with several lamp sites in the same server but then you say you want 2 workers? Do you need them to run on the same server or on any of the 2 servers (workers)?

And yes, you can use metalLB with layer 2 or BGP, whatever fits best in your environment. Wanna tell a little more? Or what is the question exactly? 🙂

Thanks!

Rodrigo

---

<div class="post-metadata">

**Author:** ![valentix1990](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@valentix1990](https://discuss.kubernetes.io/u/valentix1990)\
**Post date:** [March 26, 2019, 8:13am UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652/3 "2019-03-26T08:13:03Z")

</div>

Hi! I try to explain my problem better. I have multiple sites to hosting. A case with a master and two nodes (a server in Germany, and two nodes in France) it’s a right practice? Can i have load balancing for connection interruption with one of them or for massive traffic ?

---

<div class="post-metadata">

**Author:** ![rata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rata/32/18244_2.png) [@rata](https://discuss.kubernetes.io/u/rata)\
**Post date:** [March 27, 2019, 10:47pm UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652/4 "2019-03-27T22:47:41Z")

</div>

Not sure I follow. The master in Germany and workers in France?

Not really an option. The workers need to be close to the masters ☹

---

<div class="post-metadata">

**Author:** ![valentix1990](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@valentix1990](https://discuss.kubernetes.io/u/valentix1990)\
**Post date:** [March 28, 2019, 8:12am UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652/5 "2019-03-28T08:12:48Z")

</div>

No, i do a test with two OVH VPS (nodes) and a Hetzner VPS (master). It Works,I simply want to know if it’s a good idea… i search, also, for a good Bare Metal configuration Bare Metal with Load Balancer

---

<div class="post-metadata">

**Author:** ![rata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rata/32/18244_2.png) [@rata](https://discuss.kubernetes.io/u/rata)\
**Post date:** [March 29, 2019, 3:33am UTC](https://discuss.kubernetes.io/t/kubernetes-on-ubuntu-bare-metal-for-multi-host-server-does-my-idea-make-sense/5652/6 "2019-03-29T03:33:06Z")

</div>

Can you please elaborate exactly what are you asking if it’s a good idea? I’m don’t follow, sorry.

For a bare metal load balancer you can use metalLB to route traffic to the cluster and an Ingress controller (like contour or ingress-nginx) for the L7 routing.

I have very good experiences with metalLB
