No description
  • Go 96.6%
  • HCL 2.2%
  • Makefile 0.9%
  • Dockerfile 0.2%
Find a file
dependabot[bot] 3df6feb4d0
build(deps): bump google.golang.org/api from 0.272.0 to 0.273.0 (#1265)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.272.0 to 0.273.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.272.0...v0.273.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.273.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 12:42:56 -04:00
.github admin: Update Copywrite version and ensure year set in config. (#1240) 2026-02-06 13:45:37 +00:00
.release chore: update-copyright-headers-2026 2026-03-10 12:50:43 +05:30
agent feat: add multi-namespace support to nomad policy source (#1251) 2026-03-19 13:08:38 +05:30
command feat: add multi-namespace support to nomad policy source (#1251) 2026-03-19 13:08:38 +05:30
demo demos: move demos to a separate repo 2021-02-23 14:44:54 -05:00
plugins Runtime checks for query_window = "instant" in builtin APM plugins (#1261) 2026-03-26 00:27:26 +05:30
policy Add support for instant queries for Prometheus (APM plugin) (#1256) 2026-03-24 19:01:20 +05:30
rate_limiter [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 2) (#1214) 2025-12-11 12:19:24 +00:00
scripts [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 2) (#1214) 2025-12-11 12:19:24 +00:00
sdk Add support for instant queries for Prometheus (APM plugin) (#1256) 2026-03-24 19:01:20 +05:30
tools/buf [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 2) (#1215) 2025-12-11 12:20:26 +00:00
version admin: Update Copywrite version and ensure year set in config. (#1240) 2026-02-06 13:45:37 +00:00
.copywrite.hcl chore: update-copyright-headers-2026 2026-03-10 12:50:43 +05:30
.dockerignore CRT onboarding (#582) 2022-06-03 17:23:26 -04:00
.gitignore git: Add Zed project settings directory to gitignore. (#1174) 2025-10-13 15:03:37 +01:00
.go-version build: Update Go to v1.25.4 (#1189) 2025-11-12 09:45:38 +00:00
.golangci.yml chore: update-copyright-headers-2026 2026-03-10 12:50:43 +05:30
CHANGELOG.md Add support for instant queries for Prometheus (APM plugin) (#1256) 2026-03-24 19:01:20 +05:30
CONTRIBUTING.md CRT onboarding (#582) 2022-06-03 17:23:26 -04:00
Dockerfile [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 2) (#1214) 2025-12-11 12:19:24 +00:00
GNUmakefile build: don't lint when building dev target (#1222) 2025-12-16 12:09:10 -05:00
go.mod build(deps): bump google.golang.org/api from 0.272.0 to 0.273.0 (#1265) 2026-03-30 12:42:56 -04:00
go.sum build(deps): bump google.golang.org/api from 0.272.0 to 0.273.0 (#1265) 2026-03-30 12:42:56 -04:00
LICENSE admin: Update Copywrite version and ensure year set in config. (#1240) 2026-02-06 13:45:37 +00:00
main.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 2) (#1214) 2025-12-11 12:19:24 +00:00
README.md docs: CircleCI is no longer used, remove badge from readme. (#630) 2023-04-28 15:47:31 +01:00
staticcheck.conf build: update Go to version 1.23.2 (#985) 2024-10-17 14:52:06 +01:00

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.