Closed soletan closed 1 year ago
I realized that "disable" option has been given, though this isn't quite that obvious. Agent node is fetching configuration file of master nodes. In my case, it was containing options which don't work on an agent (which is flannel-backend
I guess, but maybe also advertise-address
). After removing those two from the file for there are CLI arguments used for that, the setup succeeds.
Maybe worth adding, that the error message is misleading though, for having disable option in configuration file isn't an issue.
Environmental Info: K3s Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
apt update && apt upgrade && reboot
prior to trying installationUsing custom script for setting up nodes.
./k3s-install.sh 10.0.1.1
./k3s-install.sh 10.0.1.2 10.0.1.1 <token>
./k3s-install.sh 10.0.1.3 10.0.1.1 <token>
Result:
Pinging master node from a worker node is working:
Describe the bug:
Setting up agent node is failing due to k3s agent complaining use of undefined option
-disable
which hasn't been given.Steps To Reproduce:
Agent node is set up with
which is eventually invoking
--node-ip
and--flannel-iface
to no avail.Expected behavior:
I'd love to see the worker node joining the cluster.
Actual behavior:
k3s agent
is complaining about use of undefined option-disable
which isn't provided.Additional context / logs:
journalctl -xeu k3s-agent:
systemd unit looks like this:
its env file looks like this: