Closed gyptazy closed 3 months ago
Add support for Proxmox LXC (container) to be rebalanced across the nodes in a cluster. Should work technically but needs further testing. Also requires a new state in the output json, where the VM/CT type should be flagged.
Example output of migrated VMs (type: vm
):
VM Current Node Rebalanced Node VM Type
test06-gyptazy01 virt01 virt02 vm
test02 virt01 virt03 vm
test04 virt01 virt02 vm
Example output of migrated CTs (type: ct
):
VM Current Node Rebalanced Node VM Type
gyp02 virt01 virt02 ct
gyp01 virt01 virt03 ct
Example output of migrated resources (type all
):
VM Current Node Rebalanced Node VM Type
test06-gyptazy01 virt01 virt03 vm
test02 virt01 virt03 vm
ct-fat virt01 virt02 ct
The vm_statistics
now contains the new key type
that defines the type of the object. Currently, it can be vm
(qemu) or ct
(LXC).
General
It would be great if ProxLB also supports containers. This could lead into a new options where it can be chosen to migrate
vm
,ct
andall
for rebalancing.Of course, we can't perform live migrations of LXC's. Just to keep in mind.
Task