PremiScale
PremiScale is a controller that brings autoscaling of virtual and physical infrastructure to local, self-hosted and private data centers, with a particular focus on integrating with the Kubernetes cluster autoscaler.
Architecture
PremiScale uses libvirt to connect to hosts and manage lifecycles of virtual machines. The Libvirt daemon provides a rich API for interacting with hypervisors, hosts and virtual machines.
The controller can be configured to run in two different modes, including kubernetes and standalone modes. In either configuration, the controller aims to start only relevant processes for both data collection and managing virtual machines and hardware.
Standalone
In standalone mode, the controller starts its own time series data collection process.
Kubernetes
Starting the controller in kubernetes mode starts relevant components of the controller that allow it to interface with the cluster autoscaler.
Note that, in this configuration, the controller does not require a time series database. State is still reconciled, but the time series signal comes from the cluster autoscaler instead.
Configuration
The controller is configured in a couple ways, including its command line interface, environment variables (as indicated in the help text below), and through the required config file (all versions of which are documented here in this repository).
Installation
This project is intended to be deployed to Kubernetes, whether you intend to integrate with the cluster autoscaler or not.
See the Helm chart README for an overview of controller installation.
Metadata
Release files for premiscale 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| premiscale-0.0.7.tar.gz | 37.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| premiscale-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.3 kB
Release files / premiscale-0.0.7.tar.gz
| Download URL | premiscale-0.0.7.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2649d686da6be49ba3577075e004afa6e980e50a9bee36ffe619fa08e9268787
|
|
BLAKE2b-256 checksum How to use checksums |
2794991ef10eef1b9082f75a0e6454f5d3d94525c281c9ce038e1173b8ada3f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / premiscale-0.0.7-py3-none-any.whl
| Download URL | premiscale-0.0.7-py3-none-any.whl |
|---|---|
| Size | 54.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a68f26c77d59de0b2a92af9ce73e56b62726ad49329fc44f3df51ecbf5f594ef
|
|
BLAKE2b-256 checksum How to use checksums |
dac83068378895ea458f2b692cfee24c91eb50f3920f4f5772fb50bfda3a0fbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|