A Kubernetes controller that automatically scales and administers private virtual and physical infrastructure
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file premiscale-0.0.7.tar.gz
.
File metadata
- Download URL: premiscale-0.0.7.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2649d686da6be49ba3577075e004afa6e980e50a9bee36ffe619fa08e9268787 |
|
MD5 | 652f2aef34366921951c24e09b6d903c |
|
BLAKE2b-256 | 2794991ef10eef1b9082f75a0e6454f5d3d94525c281c9ce038e1173b8ada3f2 |
File details
Details for the file premiscale-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: premiscale-0.0.7-py3-none-any.whl
- Upload date:
- Size: 54.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68f26c77d59de0b2a92af9ce73e56b62726ad49329fc44f3df51ecbf5f594ef |
|
MD5 | 4368c0d255cc441195dad52c012edd3a |
|
BLAKE2b-256 | dac83068378895ea458f2b692cfee24c91eb50f3920f4f5772fb50bfda3a0fbe |