Best practices setting up a K8s cluster on premise

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: latest
Cloud being used: bare-metal
Installation method:
Host OS: Ubuntu 18.04.4 LTS
CNI and version: CNI latest
CRI and version: docker 19.03.6

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.


I am also looking to get some documentation to install kubernetes on premise linux servers. Should we use kubeadm for installation or is there any better method for this?

Really the only guidance I can provide is do your research. There are a hundred different ways to deploy and manage kubernetes. As an example, if you’re an Ansible shop, using something like kubespray would probably align better with what you’re already familiar with. If you prefer to manage your systems with pxe and make them largely ephemeral, something like metal3 might be best. There are MANY options out there and they all have pros and cons depending on whats appropriate for your environment.

One tip sort of along the same lines as researching, but spend some serious time evaluating your network and picking a CNI driver. You will save yourself a significant amount of grief later if you pick an appropriate one from the start.