Commit Graph

7 Commits

Author SHA1 Message Date
Philipp Born
ccbae163ba feat(scheduler): allow for node overprovisioning (#47)
`ProxmoxCluster.spec.SchedulerHints.MemoryAdjustment=300` allows to (theoretically) allocate 300% of a host's memory for VMs (use with caution - enabling memory ballooning highly recommended)
`ProxmoxCluster.spec.SchedulerHints.MemoryAdjustment=95` allows to limit memory allocation to 95% of a host's memory
`ProxmoxCluster.spec.SchedulerHints.MemoryAdjustment=0` entirely disables scheduling memory constraints
2023-12-21 15:49:15 +00:00
Mohamed Chiheb Ben Jemaa
5e2c0b65cd Adjust cloudinit to support dhcp (#44)
* Adjust cloudinit to support dhcp

* simpler

* Remove duplicated test
2023-12-20 14:53:14 +01:00
Philipp Born
db7ace8c38 fix: exclude VM templates and include containers when calculating a host's reserveable memory (#40)
Previously, it was only checked for VMs, without taking their Template status into consideration. (A Template VM can't be started, without explicitly removing the flag.). Existing LXCs on a host weren't taken into consideration either.

Now, we'll no longer include VM Template in our calculations. But in exchange we include LXCs now.

Fixes #36.
2023-12-18 10:19:50 +01:00
Philipp Born
a1666e478f fix: prevent deletion attempts for non-existent vmID -1 (#38)
Fixes #31.

Signed-off-by: Philipp Born <98814235+pborn-ionos@users.noreply.github.com>
2023-12-16 19:53:09 +01:00
Philipp Born
5f6d700a2d fix cloud-init default routes (#34) 2023-12-15 20:27:08 +01:00
Mohamed Chiheb Ben Jemaa
1b0555f0d3 Fixes pause of IPAddressClaim (#28)
* Fixes pause of IPAddressClaim

* Use root cluster name
2023-12-14 13:18:02 +01:00
Vic Kerr
45f5888c41 Initial open source release
Co-authored-by: Felix Wischke <felix.wischke@ionos.com>
Co-authored-by: Jonas Bender <90411737+jonas-be@users.noreply.github.com>
Co-authored-by: Ludwig Bedacht <132355999+lubedacht@users.noreply.github.com>
Co-authored-by: Mario Valderrama <15158349+avorima@users.noreply.github.com>
Co-authored-by: Mohamed Chiheb Ben jemaa <mohamed-chiheb.ben-jemaa@ionos.com>
Co-authored-by: Vic Kerr <318870+wikkyk@users.noreply.github.com>
2023-11-29 14:17:03 +00:00