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
(the default) and standalone
modes. In either configuration, the controller aims to start only relevant processes for both data collection and managing virtual machines. Users are required at this time to provide a list of hosts on which virtual machines can be created, in addition to a list of autoscaling groups, into which virtual machines the controller manages, are organized.
Standalone
In standalone
mode (the default), 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.6.tar.gz
.
File metadata
- Download URL: premiscale-0.0.6.tar.gz
- Upload date:
- Size: 36.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c888b8b160d1da807523115ec803d74b5111255a30148c3b149cf5572ed9f084 |
|
MD5 | 6272fbaa4ff224320895c31726006b2f |
|
BLAKE2b-256 | ba614367919173edec20b9b860b76cfef4844c5bffdaf398efb0e36a152dfab2 |
File details
Details for the file premiscale-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: premiscale-0.0.6-py3-none-any.whl
- Upload date:
- Size: 52.8 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 | fde3d66a4636c3deb3f0016890d2f876ccf521979a55c45386a05f72cfc184ca |
|
MD5 | 92cf904d5cf436af24cee9564a339e9d |
|
BLAKE2b-256 | 8c4a320af9e7b1d60f2c4f1eed48b56e7b528f651696d7fcb858bc4604de9403 |