Giter VIP home page Giter VIP logo

nomad-autoscaler's Introduction

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:

  • Horizontal Application Autoscaling: The process of automatically controlling the number of instances of an application to have sufficient work throughput to meet service-level agreements (SLA). In Nomad, horizontal application autoscaling can be achieved by modifying the number of allocations in a task group based on the value of a relevant metric, such as CPU and memory utilization or number of open connections.

  • Horizontal Cluster Autoscaling: The process of adding or removing Nomad clients from a cluster to ensure there is an appropriate amount of cluster resource for the scheduled applications. This is achieved by interacting with remote providers to start or terminate new Nomad clients based on metrics such as the remaining free schedulable CPU or memory.

  • Dynamic Application Sizing (Enterprise): Dynamic Application Sizing enables organizations to optimize the resource consumption of applications using sizing recommendations from Nomad. It evaluates, processes and stores historical task resource usage data, making recommendations for CPU and Memory resource parameters. The recommendations can be calculated using a number of different algorithms to ensure the recommendation best fits the application profile.

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.

nomad-autoscaler's People

Contributors

jrasell avatar lgfa29 avatar dependabot[bot] avatar cgbaker avatar hashicorp-ci avatar baxor avatar urjitbhatia avatar attachmentgenie avatar tyler-domitrovich avatar juanadelacuesta avatar jsiebens avatar hc-github-team-nomad-ecosystem avatar gulducat avatar jazzyfresh avatar jorgemarey avatar lcheruka avatar hashicorp-tsccr[bot] avatar shantanugadgil avatar mdeggies avatar jippi avatar adrianlop avatar alopezsanchez avatar mocofound avatar alvin-huang avatar jeffwecan avatar brmzkw avatar the-maldridge avatar nicgrayson avatar pkazmierczak avatar smacfarlane avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.