garutilorenzo / k3s-oci-cluster

Deploy a Kubernetes cluster for free, using k3s and Oracle always free resources
https://garutilorenzo.github.io/deploy-kubernetes-for-free-oracle-cloud
GNU General Public License v3.0
225 stars 79 forks source link

Change default server pool size to 1 #26

Closed sphr2k closed 1 year ago

sphr2k commented 1 year ago

Nice procject :)

I would suggest changing the default size of the server pool to 1 as there is no advantage to having an even number of etcd nodes.

mannp commented 1 year ago

Interesting, 3 worker nodes would be handy.

Is it as simple as setting k3s_server_pool_size to 1, and k3s_worker_pool_size to 3?

sphr2k commented 1 year ago

It should be as simple, yes.

Of course, having only a single control plane node means no high availability, but so does having two, because one node being down equals loss of quorum. Usually, non-HA control plane is fine for hobby purposes.

garutilorenzo commented 1 year ago

Hi @sphr2k yes you are right 👍 I will reduce the number of server from 2 to 1 and i will try to add an extra instance to the worker with oci_core_instance_pool_instance resource. But @mannp is not possible to set k3s_worker_pool_size to 3 with a free account (no problem with paid account)