https://rancher.com/ logo
Title
a

ambitious-plastic-3551

07/04/2022, 7:28 PM
editing files isn't enough sadly
b

bland-jackal-22983

07/04/2022, 7:28 PM
even after reboot?
a

ambitious-plastic-3551

07/04/2022, 7:28 PM
I'm not sure
if you write hostname you should see
or hostnamectl also displays it more throughly
b

bland-jackal-22983

07/04/2022, 7:30 PM
ok, it did get updated
hostnamectl
is the value i set
a

ambitious-plastic-3551

07/04/2022, 7:30 PM
Then all is ok
b

bland-jackal-22983

07/04/2022, 7:31 PM
but rke2 nodes doesn't have the correct
hostname
label
a

ambitious-plastic-3551

07/04/2022, 7:31 PM
how did you write config.yaml
you can "customize" node-name
b

bland-jackal-22983

07/04/2022, 7:31 PM
oh, so by default
hostname
will be set as
node-name
?
a

ambitious-plastic-3551

07/04/2022, 7:32 PM
I had this impression
b

bland-jackal-22983

07/04/2022, 7:32 PM
i didn't set
node-name
at all
got it, i can try that
thanks for helping!
a

ambitious-plastic-3551

07/04/2022, 7:33 PM
but if you change anything in config.yaml could break cluster or node
then I normally stop and do --cluster-reset
rke2 server --cluster-reset
­čĹŹ 1
you could also first drain the node in production before doing that
But I am still new to this too