This message was deleted.
# k3s
a
This message was deleted.
c
if you’re using etcd you could snapshot/restore, but easier for a single node is probably to just stop the server and copy the files over. If you’re using etcd you’ll have to start it once with --cluster-reset to change the hostname in the etcd cluster.
h
thanks
c
you’ll have to change the server address on all the agents as well, of course
h
is there a list of directories tied to k3s master role?
looks like mostly everythng is in /var/lib/rancher ?
c
all you really need is the stuff under /var/lib/rancher/k3s/server
the agent stuff is 99% containerd stuff, by size at least
and the rest is recreated on startup
h
great stuff, thanks a bunch