General Troubleshooting #20
Locked
timothystewart6
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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