Files
ProxLB/docs/02_Configuration.md
Florian Paul Azim Hoberg 511d0a3c24 feature(tags): Add tag evaluation to provide new features:
* Bundle multiple VMs by tag to be relocated together [#3]
  * Ensure by tag that VMs will not be reloccated to the same node [#5]
  * Ignore VMs from being relocated by tag [#7]
  * Ignore VMs from being relocated by a wildcard pattern [#7]

Fixes: #3
Fixes: #5
Fixes: #7
2024-07-10 15:56:22 +02:00

2.0 KiB

Configuration

Grouping

Include (Stay Together)

Access the Proxmox Web UI by opening your web browser and navigating to your Proxmox VE web interface, then log in with your credentials. Navigate to the VM you want to tag by selecting it from the left-hand navigation panel. Click on the "Options" tab to view the VM's options, then select "Edit" or "Add" (depending on whether you are editing an existing tag or adding a new one). In the tag field, enter plb_include_ followed by your unique identifier, for example, plb_include_group1. Save the changes to apply the tag to the VM. Repeat these steps for each VM that should be included in the group.

Exclude (Stay Separate)

Access the Proxmox Web UI by opening your web browser and navigating to your Proxmox VE web interface, then log in with your credentials. Navigate to the VM you want to tag by selecting it from the left-hand navigation panel. Click on the "Options" tab to view the VM's options, then select "Edit" or "Add" (depending on whether you are editing an existing tag or adding a new one). In the tag field, enter plb_exclude_ followed by your unique identifier, for example, plb_exclude_critical. Save the changes to apply the tag to the VM. Repeat these steps for each VM that should be excluded from being on the same node.

Ignore VMs (tag style)

In Proxmox, you can ensure that certain VMs are ignored during the rebalancing process by setting a specific tag within the Proxmox Web UI, rather than solely relying on configurations in the ProxLB config file. This can be achieved by adding the tag 'plb_ignore_vm' to the VM. Once this tag is applied, the VM will be excluded from any further rebalancing operations, simplifying the management process.