Node Membership Rules automate Node organization within Rooms based on host labels. This simplifies infrastructure management by dynamically assigning Nodes to appropriate Rooms, eliminating manual intervention.
Important:
The rules consist of the following elements:
Element | Description |
---|---|
Action | Determines whether matching Nodes will be included or excluded from the Room |
Clauses | Set of conditions that determine which Nodes match the Rule (all must be satisfied - logical AND) |
Each clause consists of:
Element | Description |
---|---|
Label | The host label to check |
Value | The comparison method |
Operator | The value to compare against |
Below is a conceptual representation of a rule that includes all production database Nodes. The structure is shown in YAML format for clarity:
Action: Include
Clauses:
- Label: environment
Operator: equals
Value: production
- Label: service-type
Operator: equals
Value: database
Nodes can have multiple membership types in a Room:
Status | Description |
---|---|
STATIC | Manually added to the Room |
RULE | Added by matching Rule(s) |
STATIC and RULE | Both manual and Rule-based |
You can view each Node's membership status in the Room's Nodes table under the "Membership" column.