Open danghung-dev opened 4 months ago
Could you get the output of cat /etc/rancher/k3s/config.yaml
on both nodes?
Side note: you'll need to add another master node (3 masters) or just use 1 master
HA embedded etcd cluster must be comprised of an odd number of server nodes for etcd to maintain quorum. For a cluster with n servers, quorum is (n/2)+1. For any odd-sized cluster, adding one node will always increase the number of nodes necessary for quorum. Although adding a node to an odd-sized cluster appears better since there are more machines, the fault tolerance is worse since exactly the same number of nodes may fail without losing quorum but there are more nodes that can fail.
Here is output of config.yaml for both
Side note: you'll need to add another master node (3 masters) or just use 1 master
@khuedoan thanks for noting.
That appears correct, just to double check could you confirm that you are using the provided PXE boot setup? The node host name localhost.localdomain
looks weird, it's supposed to be defined by the automatic kickstart config based on the name specified in the Ansible inventory.
I have 2 master nodes, I have run successful
make metail
It only show 1 node
k get nodes
ssh to 2 nodes then run
k3s kubectl get nodes
Here is the log of the error node