1

I'm setting up a bare-metal hypervisor with VMware ESXi on a local server which will have a kubernetes cluster.

Should I use Linux containers with LXD to set up my Kubernetes cluster? or should I use several VMs that I can provide with my VMware hypervisor?

Rico
  • 58,485
  • 12
  • 111
  • 141
Zahid
  • 91
  • 1
  • 10

1 Answers1

1

I'm not sure what you are referring to by using LXD to set up your Kubernetes cluster. Kubernetes doesn't officially support LXC/LXD.

So, you can use several VMs for your Kubernetes control (masters) and data planes (nodes). You can either use straight docker or any containerd or cri-o as shims to run your container runtime.

In any case, most of this stuff is already set up by the deployment tools like:

If you are looking for something more minimal you can try:

Rico
  • 58,485
  • 12
  • 111
  • 141
  • I ve seeing some post`s telling that they have set up their kubernetes nodes inside several linux containers and that they have being working correctly . But im not pretty sure to set up mine with kubeadm as you suggest me inside of them , I also keep asking me why not to setup this cluster inside linux containers, if they are more manageable with more pros than a vm and faster to boot up – Zahid Jul 08 '20 at 01:48
  • I guess you can try setting it up in an LXC container using `kubeadm` – Rico Jul 08 '20 at 01:55
  • added more options – Rico Jul 08 '20 at 01:57