Skip to content

LXC AutoScale MLML-Powered Autoscaling for Proxmox

Automatically adjust LXC container resources based on real-time usage and machine learning predictions

LXC AutoScale ML

Quick Start ​

Install LXC AutoScale ML on your Proxmox host:

bash
curl -sSL https://raw.githubusercontent.com/fabriziosalmi/proxmox-lxc-autoscale-ml/main/install.sh | bash

Check service status:

bash
systemctl status lxc_autoscale_api lxc_monitor lxc_autoscale_ml

System Requirements ​

RequirementVersion
Proxmox VE6.x or higher (tested on 8.2.4)
Python3.x
Operating SystemLinux (Debian-based)

How It Works ​

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Monitor   │────▢│    Model    │────▢│     API     β”‚
β”‚  (Metrics)  β”‚     β”‚ (ML Engine) β”‚     β”‚  (Actions)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                   β”‚                   β”‚
       β–Ό                   β–Ό                   β–Ό
  Collect CPU,       Train model,        Apply scaling
  RAM, disk,         detect anomalies,   decisions to
  network stats      predict needs       containers
  1. Monitor collects resource metrics from all running LXC containers
  2. Model trains an IsolationForest model and predicts scaling needs
  3. API executes scaling actions on the Proxmox host

License ​

LXC AutoScale ML is released under the MIT License.

Enjoy and contribute πŸ˜ƒ

Released under the MIT License.