adamant-kite-43734
01/24/2025, 5:04 PMambitious-daybreak-95996
01/28/2025, 6:05 AM<http://node-role.harvesterhci.io/witness=true|node-role.harvesterhci.io/witness=true>
<http://node-role.harvesterhci.io/management=true|node-role.harvesterhci.io/management=true>
<http://node-role.harvesterhci.io/worker=true|node-role.harvesterhci.io/worker=true>
...the node will have that role (i.e., witness, management or worker). If none of those labels are set, it means the node has the default role.
A couple of notes:
• You'll probably want to use the command line (e.g. kubectl label node/NODENAME <http://node-role.harvesterhci.io/management=true|node-role.harvesterhci.io/management=true>
to set a label, kubectl label node/NODENAME <http://node-role.harvesterhci.io/management-|node-role.harvesterhci.io/management->
to remove it, or kubectl edit node/NODENAME
) rather than the Harvester GUI, because those labels are filtered out of the node config editor.
• The roles only determine how/whether nodes are promoted to management. i.e. if you have an existing node that's already a control-plane node, setting the worker role won't cause that node to be demoted.steep-teacher-58732
03/18/2025, 4:00 PM