3 ms·
> Not gonna happen because it takes 3 master nodes to have a quorum and 1 separate worker node. Can you explain that more? I had a single-node cluster running:
by diarrhea 6y ago
> Not gonna happen because it takes 3 master nodes to have a quorum and 1 separate worker node.
Can you explain that more? I had a single-node cluster running: the master needs to be untainted so work gets scheduled on it, and then it runs. There is no need for a quorum because there is nothing to decide on.
- user5994461 6y agoAssuming one is doing a kubernetes homelab to train for work or future job interviews, they should probably get a full cluster going. Kubernetes depends on etcd which requires an odd numbers of instances. There might be ways to run a one or two nodes cluster for testing (see minikube) but that's not how it's going to run in a company.
- dharmab 6y agoYou can run a one-node etcd cluster for testing, but it's not recommended for any real usage. Most companies won't be running their own etcd clusters anyway, except for on-prem clusters. Cloud users will generally use a managed Kubernetes cluster. If you do need to learn how to run etcd, you can learn the basics in about a day. In our org, the etcd portion of the training is less than half an hour long thanks to good documentation. For a homelab, consider running something like k3s which can use a SQL database instead of etcd.