Skip to main content

PremiScale autoscaler

Project description

PremiScale

GitHub Release Business License 1.1

PremiScale is a controller that brings autoscaling of virtual and physical infrastructure to local, self-hosted and private datacenters, 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.

premiscale architecture: internal autoscaler enabled

Kubernetes

Starting the controller in kubernetes mode starts relevant components of the controller that allow it to interface with the cluster autoscaler.

premiscale architecture: internal autoscaler disabled

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

premiscale-0.0.4.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

premiscale-0.0.4-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

Details for the file premiscale-0.0.4.tar.gz.

File metadata

  • Download URL: premiscale-0.0.4.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for premiscale-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5903f727c7c9f3f23c75cb357838ac295342f564485b42cafdd8d53f6cc411be
MD5 d0297727616838d92f754726cadd70a6
BLAKE2b-256 04cd5174e9878ecba27c0204f77b580d603fd29513736dc1e0f69384f5904267

See more details on using hashes here.

File details

Details for the file premiscale-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: premiscale-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 51.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for premiscale-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2d576aefef158a9f8d9d1896088ae13d6b8609c463e58a120236315d5411041b
MD5 91fc03877043c9941a165da1c8903a23
BLAKE2b-256 4d3694fca8f18e500728789d744ce5290c00c83a5670c38d68e44c785184b4e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page