techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Add minimum spec to README #518

Closed 0lzi closed 3 months ago

0lzi commented 5 months ago

Would be a good bit to put a minimum spec ( hardware wise ) in the README.

I Tried to follow along with the guide and installations kept failing.

I'm running this against VMs in proxmox, and although k3s shows recommended spec for control to be 2 CPU 1G RAM link, these were not sufficient and it kept pinning the CPU of master node at 100% and the VIP kept disappearing from master but not going to another node.

After some trail and error, I found that 4 CPU / 2G RAM is enough to get things going fine but not much wiggle room after putting rancher on there for deploying anything else.

Hardware: 3x Beelink SER5 ( Ryzen 5 5500U 6c/12t 16G RAM )

timothystewart6 commented 5 months ago

Interesting! Typically min specs should be fine though etcd is sensitive to latency. Could it have been that you were running other VMs on the shared disk at the time?

0lzi commented 4 months ago

I had 1 other VM running on each node, but they are all on nvme local storage. I will do some more testing

timothystewart6 commented 3 months ago

our specs should be no different than k3s specs https://docs.k3s.io/installation/requirements