I've noticed that the agents would not autostart after a reboot. I've tried using systemctl enable k3s but this also failed with a rather ambiguous error Failed to enable unit: Invalid argument, so after looking at the unit file I've found out that there is a small typo WantedBy=multi-user.targets instead of WantedBy=multi-user.target. Fixing it resolves the issue.
I've noticed that the agents would not autostart after a reboot. I've tried using
systemctl enable k3s
but this also failed with a rather ambiguous errorFailed to enable unit: Invalid argument
, so after looking at the unit file I've found out that there is a small typoWantedBy=multi-user.targets
instead ofWantedBy=multi-user.target
. Fixing it resolves the issue.