You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally speaking, here are things to check if this does not work for you.
✅ Minimum ansible version is 2.11
✅ Reset your cluster using the reset task in reset.yml. This cleans up any changes. You must reset your cluster if anything fails.
✅ Installed and verified that ansible requirements are installed with ansible-galaxy install -r ./collections/requirements.yml
✅ Variables match the ones used below, including no additional args.
✅ That all server / master nodes have the same network interface name (flannel_iface this cannot vary)
✅ If they do not match, create one master / server node and add additional servers outside of this playbook
✅ All machines have enough disk space, at least 4 GB (minimum)
✅ Drives are fast enough to run etcd (SSD or faster)
✅ Network / disk latency is low enough to run etcd
✅ Run the reset command, ensure this reboots all machines.
✅ Same time zone on all machines
✅ k3s_token does not contain special characters (alpha numeric is preferred)
✅ ssh keys work on all nodes
✅ ansible_user is the user that has ssh access via ansible
✅ You have the correct interface name for all nodes (default is eth0)
To see additional commands and more documentation see the docs
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Troubleshooting
Generally speaking, here are things to check if this does not work for you.
✅ Minimum
ansible
version is2.11
✅ Reset your cluster using the reset task in
reset.yml
. This cleans up any changes. You must reset your cluster if anything fails.✅ Installed and verified that
ansible
requirements are installed withansible-galaxy install -r ./collections/requirements.yml
✅ Variables match the ones used below, including no additional args.
✅ That all
server
/master
nodes have the same network interface name (flannel_iface
this cannot vary)✅ If they do not match, create one
master
/server
node and add additional servers outside of this playbook✅ All machines have enough disk space, at least 4 GB (minimum)
✅ Drives are fast enough to run
etcd
(SSD or faster)✅ Network / disk latency is low enough to run
etcd
✅ Run the reset command, ensure this reboots all machines.
✅ Same time zone on all machines
✅
k3s_token
does not contain special characters (alpha numeric is preferred)✅ ssh keys work on all nodes
✅
ansible_user
is the user that has ssh access via ansible✅ You have the correct interface name for all nodes (default is
eth0
)To see additional commands and more documentation see the docs
How I test this in my HomeLab
Machines
(5) 20.04 LTS Ubuntu machines
Variables (example)
Be sure you are using the default variables here
kubectl
(from one of the
server
/master
nodes)VIP
Can ping VIP
Logs
Expand to see log output
Beta Was this translation helpful? Give feedback.
All reactions