hashicorp / nomad-autoscaler

Nomad Autoscaler brings autoscaling to your Nomad workloads.
Mozilla Public License 2.0
424 stars 84 forks source link

Nomad Autoscaler CI Discuss

The Nomad Autoscaler is an autoscaling daemon for Nomad, architectured around plug-ins to allow for easy extensibility in terms of supported metrics sources, scaling targets and scaling algorithms.

The Nomad Autoscaler currently supports:

Requirements

The autoscaler relies on Nomad APIs that were introduced in Nomad 0.11-beta1, some of which have been changed during the beta. The compatibility requirements are as follows:

Autoscaler Version Nomad Version
0.0.1-techpreview1 0.11.0-beta1
0.0.1-techpreview2 0.11.0
0.0.2 0.11.2
0.1.0 0.12.0
0.1.1 0.12.0
0.2.0+ 1.0.0+
nightly 1.0.0+

Documentation

Documentation is available on the Nomad project website.

Demo

There are both horizontal application scaling and dynamic application sizing based demos available providing guided examples of running the autoscaler.

The cloud provider based demo provides guided examples of running horizontal application and cluster scaling.

Building

The Nomad Autoscaler can be easily built for local testing or development using the make dev command. This will output the compiled binary to ./bin/nomad-autoscaler.

Nightly Builds and Docker Image Preview

The Nomad Autoscaler is under constant updates, so every day the nightly release is updated with binaries built off the latest code in the main branch. This should make it easier for you to try new features and bug fixes.

Each commit to main also generates a preview Docker image that can be accessed from the hashicorppreview/nomad-autoscaler repository on Docker Hub.