`Feature`: integrate node groups
featureready-for-release
## General
add node groups, similar to Proxmox HA groups, to control where VMs are allowed to migrate
## Details
to allow clustering different nodes together, ProxLB should be able to make node groups to which VMs are being assigned
rebalancing could work similar to native Proxmox HA
restricted = yes
VM may only migrate within its assigned node group.
If no node in the group is available, no migration occurs.
restricted = no
VM should prefer migration within its current group.
Migration outside the group is allowed only if no nodes in the current group are available.
One idea would be to utilise the already existing Proxmox Node assignments in /etc/pve/ha/groups.cfg
or preferably, this could be implemented inside proxlb.yaml
for example:
```
groups:
AMD-HA:
nodes:
- pve-amd-node13-th-I
- pve-amd-node14-th-I
INTEL-HA:
nodes:
- pve-intel-node12-th-I
- pve-intel-node13-th-I
```
VMs can then be pinned to the according group
please let me know what you think
Best regards
hugo
关闭于 2026-01-04 2 条评论