This message was deleted.
# k3s
a
This message was deleted.
c
you don’t need to use the --config flag, the file at /etc/rancher/k3s/config.yaml will be used if it exists as that is the default --config path
👍 1
just move your flags from the systemd unit to the config file equivalent and restart
👍 1
c
Awesome! Thanks for the help!
Related to this question, the first node has the
--cluster-init
flag when started and the two other nodes has
--server
+
--token
flags set to wire the cluster together. I guess they shall be as-is when changing this to use a config file e.g. the
--cluster-init
flag should be there although the cluster is already up and running?
c
the cluster-init and server flags are essentially ignored once the node is joined to the etcd cluster.
1
it’s harmless to leave them there, and you’d need them again if you ever do a cluster-reset/restore though
c
Sorry for the late answer, thanks for the help!! Everything went well and we managed to switch to a config file instead without any pain.