adamant-kite-43734
09/13/2022, 9:05 PMcreamy-pencil-82913
09/13/2022, 9:35 PM<https://127.0.0.1:2379> until the etcd pod is up. The second one is normal as things bootstrap; you’ll see it switch the load-balancer tunnel connection over to the new endpoint.creamy-pencil-82913
09/13/2022, 9:35 PMcreamy-pencil-82913
09/13/2022, 9:36 PMmagnificent-vr-88571
09/14/2022, 12:24 AMmagnificent-vr-88571
09/15/2022, 10:51 PMetcd.yaml from /var/lib/rancher/rke2/agent/pod-manifests of agent node.
not sure about reason/scenario etcd.yaml got created in agent node.creamy-pencil-82913
09/15/2022, 11:09 PMmagnificent-vr-88571
09/16/2022, 9:49 PMsystemctl restart rke2-server it will fail right, since because it can’t find the rke2-server unit file?creamy-pencil-82913
09/16/2022, 10:15 PMmagnificent-vr-88571
09/16/2022, 10:28 PM-rw-r--r-- 1 root root 11 Jul 5 05:27 /usr/local/lib/systemd/system/rke2-agent.env
-rw-r--r-- 1 root root 870 Jul 5 05:27 /usr/local/lib/systemd/system/rke2-agent.service
-rw-r--r-- 1 root root 11 Jul 5 05:27 /usr/local/lib/systemd/system/rke2-server.env
-rw-r--r-- 1 root root 871 Jul 5 05:27 /usr/local/lib/systemd/system/rke2-server.service
That’s really weird to have it, since because we have an understanding in RKE2 either a node can be server/agent but not both.
I strongly believe there is a possibility of hitting wrong service files both in server and agent nodes.
Irrespective of installer it’s good to have either server or agent unit files only to avoid such mishap.magnificent-vr-88571
09/16/2022, 10:28 PMmagnificent-vr-88571
09/16/2022, 10:39 PMcreamy-pencil-82913
09/16/2022, 10:45 PMcreamy-pencil-82913
09/16/2022, 10:45 PMmagnificent-vr-88571
09/16/2022, 10:52 PMcreamy-pencil-82913
09/16/2022, 11:39 PMrke2 server instead of rke2 agent, but if you prefer not to have the other files around, you’re free to remove themmagnificent-vr-88571
09/17/2022, 1:03 AMmagnificent-vr-88571
09/18/2022, 11:41 PMwe do support switching agents to servers by runningsimilarly can we switch servers to agents by runninginstead ofrke2 server,rke2 agent
rke2 agent, instead of rke2 server ?creamy-pencil-82913
09/19/2022, 5:30 PMmagnificent-vr-88571
09/19/2022, 5:59 PM