https://rancher.com/ logo
Title
m

mammoth-winter-72426

05/17/2023, 11:54 PM
My question is regarding k3s binary functionality: 1. It looks like the binary doesn’t come with a k3s.service, so when I turned off the node it couldn’t reconnect back to the cluster. 2. I went to the K3s-io / k3s git hub page and I found the the default K3s service yaml. I then ensured the service was active, and I turned off the node…. But the node still did not rejoin the cluster. My question, is there a default K3s.service somewhere i can use for server and agent nodes installed through binary method? If so, does anyone know where I could find it? Thankyou - Fareed
c

creamy-pencil-82913

05/18/2023, 12:53 AM
yes, its in the install script. you’re intended to run the install script.
If you want to just pull down the binary from GH and run that, then you also get to figure out how to pull down the systemd unit from https://github.com/k3s-io/k3s/blob/master/k3s.service , register it, and set it to run on startup.
m

mammoth-winter-72426

05/18/2023, 2:11 AM
Thankyou @creamy-pencil-82913