This message was deleted.
# kubernetes
a
This message was deleted.
a
figured it out. I was trying to add some extra labels to my worker nodes with a config file in
/etc/rancher/rke2/config.yaml.d/
with
Copy code
node-label: 
    - smarter-device-manager=enabled
    - node-type=compute
I don't know if my syntax is off or that's just not the right place to do that kind of thing. Previously we'd have a section of the user data script that would sleep until the node joined the cluster and then label itself with
kubectl
commands, I was trying to get away from doing that.
I guess adding labels there screws with whatever the initial registration process expects?
Oh, didn't realize nodes can't set their own labels https://github.com/rancher/rke2/issues/3730