Skip to content

Releases: hashicorp/nomad-autoscaler

v0.3.0

26 Feb 00:05
Compare
Choose a tag to compare

0.3.0 (February 25, 2021)

FEATURES:

  • GCP MIG Horizontal Cluster Scaling: Scale the number of Nomad clients within a GCP Managed Instance Groups [GH-353]
  • agent: Add pprof HTTP debug endpoints [GH-349]

IMPROVEMENTS:

  • agent: Update Nomad API dependency to v1.0.4 [GH-401]
  • agent: Read Nomad address and region from environment variables [GH-365]
  • helper/scaleutils: refactored scaleutils to remove burden on horizontal cluster scaling target developers and allow for external plugins without core changes [GH-395]
  • plugins: Replace net/rpc plugin subsystem with gRPC implementation [GH-355]
  • plugins/apm/prometheus: Update Prometheus client dependency from v1.5.1 to v1.9.0 [GH-368]
  • plugins/target: Add cluster scaling configuration to ignore system jobs on drain [GH-356]

BUG FIXES:

  • agent: Fix an issue where the Autoscaler could get blocked and stop evaluating policies [GH-354]
  • agent: Fix Nomad config merging so that Nomad env vars are used correctly [GH-381]
  • helper/scaleutils: Filter nodes to ensure unstable pools do not run evaluations [GH-378]
  • plugins/target/aws-asg: Fix a bug where confirming instance termination would exit prematurely [GH-392]

v0.2.1

12 Jan 22:08
Compare
Choose a tag to compare

0.2.1 (January 12, 2021)

BUG FIXES:

  • plugins/apm: Fix a bug where external APM plugins would cause the Nomad Autoscaler to panic [GH-341]

v0.2.0

07 Jan 20:06
Compare
Choose a tag to compare

0.2.0 (January 06, 2021)

BACKWARDS INCOMPATIBILITIES:

  • apm/datadog: Queries should use the new query_window parameter [GH-268]
  • policy/file: Policies stored in files must be wrapped in a scaling block [GH-313]

FEATURES:

  • Azure VMSS Horizontal Cluster Scaling: Scale the number of Nomad clients within Azure virtual machine scale sets [GH-278]
  • Dynamic Application Sizing (Enterprise): Evaluate, processes and store historical task resource usage data, making recommendations for CPU and Memory resource parameters [GH-298]

IMPROVEMENTS:

  • agent: Added new evaluation broker to manage storing, deduping and controlling the distribution policy evaluation requests to workers [GH-282]
  • agent: Add /v1/agent/reload endpoint [GH-312]
  • apm/nomad: CPU query relative to task group allocated resources [GH-324]
  • apm/nomad: Memory query relative to task group allocated resources [GH-334]
  • plugins/target/nomad: Added support for namespaced jobs [GH-277]
  • policy: Add query_window parameter to check [GH-268]
  • policy/file: Allow multiple policies per file [GH-313]

v0.1.1

11 Sep 16:03
Compare
Choose a tag to compare

FEATURES:

  • Datadog APM: Datadog can be used as an APM source [GH-241]
  • Telemetry: Initial telemetry implementation to emit key stats for monitoring [GH-238]

IMPROVEMENTS:

  • cluster_scaling: allow Nomad client nodes to be optionally purged after termination [GH-258]

BUG FIXES:

  • plugins: fix an issue which caused a failure to launch multiple plugins using the same driver [GH-222]
  • policy: fix an issue where the Nomad Autoscaler would fail to canonicalize Nomad APM queries with non-default plugin name [GH-216]

v0.1.0

09 Jul 14:39
Compare
Choose a tag to compare

Requires Nomad 0.12.0 or later.

BACKWARDS INCOMPATIBILITIES:

  • policy: allow multiple checks in a policy [GH-176]
  • agent: the scan-interval CLI flag and top-level default_evaluation_interval config option have been removed and replaced by policy-default-evaluation-interval and policy.default_evaluation_interval options respectively [GH-197]

FEATURES:

  • AWS ASG Horizontal Cluster Scaling: Scale the number of Nomad clients within AWS AutoScaling groups [GH-185]

IMPROVEMENTS:

  • agent: only enter out-of-bounds cooldown if time greater than 1s [GH-139]
  • agent: scaling policies can now be loaded from a directory on local disk [GH-178]
  • core: update Nomad API dependency to 0.12.0 [GH-210]

BUG FIXES:

  • cli: fix incorrect flag help detail for nomad-ca-path [GH-168]
  • policy/nomad: fix fast loop when Nomad policy syntax is incorrect [GH-179]

v0.0.2

21 May 19:42
Compare
Choose a tag to compare

Requires Nomad 0.11.2 or later.

This release removes the -techpreview flag as it contains significant improvements over previous releases. But the Nomad Autoscaler is still in early development stage and it's not recommended for production use yet.

BACKWARDS INCOMPATIBILITIES:

  • agent: configuration scan_interval renamed to default_evaluation_interval [GH-114]

FEATURES:

  • agent: allow policies to specify evaluation_interval [GH-30]
  • agent: allow policies to specify cooldown [GH-117]

IMPROVEMENTS:

  • agent: use blocking queries to communicate with the Nomad API [GH-38]
  • agent: improve command error output message when setting up agent [GH-106]
  • agent: skip scaling action if the desired count matches the current count [GH-108]
  • agent: the target-value strategy plugin is configured for launching as default [GH-135]
  • cli: always use cli library exit code when exiting main function [GH-130]
  • core: update Nomad API dependency to 0.11.2 [GH-128]
  • plugins/apm/prometheus: use the logger rather than fmt.Print to output Prometheus query warnings [GH-107]
  • plugins/strategy/target-value: add new policy configuration precision [GH-132]

BUG FIXES:

  • agent: fix issue where Nomad Autoscaler would fail to re-connect to Nomad [GH-119]
  • plugins/apm/nomad: fix Nomad APM bug when querying groups on multiple clients [GH-125]
  • plugins/strategy: fix bug in external strategy plugins suggesting scale to zero [GH-112]

v0.0.1-techpreview2

10 Apr 18:00
Compare
Choose a tag to compare

Requires Nomad 0.11.0-beta2 or later.

IMPROVEMENTS:

  • core: update Nomad API dependency to 0.11.0 [GH-85]
  • plugin: return an error when Prometheus APM query returns NaN [GH-87]
  • plugin: improve user experience when developing external plugins [GH-82]

BUG FIXES:

  • plugin: allow the internal target-value plugin to handle scaling to zero as well as use target values of zero [GH-77]

v0.0.1-techpreview1

01 Apr 18:52
Compare
Choose a tag to compare

Initial Tech Preview. Requires Nomad 0.11-beta1.