Remove nodes from a node group
To remove nodes from a node group, you must either unpin the node or delete (or change) the dynamic rule that added the node.
When is removed from a node group, the node is no longer classified
with the classes declared in that node group. However, resources installed by those
classes are not removed from the node. For example, if a node group has the
apache
class that installs the Apache package on the group's nodes,
the Apache package is not removed from the node when the node no longer belongs
to the node group.- In the console, click Node groups, select the node group you want to remove nodes from, and go to the Rules tab.
- To remove nodes added to a group by dynamic node group rules,
determine which rules are adding the nodes, and:
- Click Remove to remove a single rule. This also removes any other nodes matching this rule, if they do not match any other rules.
- Click Remove all rules to remove all dynamic node group rules from the group. This removes all dynamically-added nodes from the group.
- Change one or more rules so they exclude the nodes you do not want in the group. This might also add or remove other nodes from the group, depending on how specific the rule is.
- To remove pinned
nodes, in the Certname table:
- Click Unpin to unpin an individual node.
- Click Unpin all pinned nodes to unpin all pinned nodes from the node group. This does not remove dynamically-added nodes. If a pinned node also falls under one of the dynamic node group rules, the node remains in the node group by virtue of the dynamic node group rule.
To unpin a node from all groups it’s pinned to, use theunpin-from-all
command endpoint. This does not remove a dynamically-added node – This command only removes manually pinned nodes. - Commit changes.