Johannes Gedicke
08/31/2023, 1:47 PMKathy Satterlee
08/31/2023, 3:00 PMJohannes Gedicke
08/31/2023, 3:34 PMKathy Satterlee
08/31/2023, 3:51 PMapiVersion: v1
kind: label
spec:
name: Manually Managed Example
label_membership_type: manual
hosts:
- hostname1
- hostname2
- hostname3
There's also some potential for manual labels to be useful here if there's something on the host that would help sort them out... for example, If you have conventions for setting hostnames, you could use a dynamic query like this:
apiVersion: v1
kind: label
spec:
name: VMs
query: >
SELECT 1 FROM system_info WHERE hostname LIKE "VM_";Kathy Satterlee
08/31/2023, 3:52 PMJohannes Gedicke
09/01/2023, 8:43 AMJohannes Gedicke
09/01/2023, 9:48 AM