Skip to content

Releases: hashicorp/nomad-autoscaler

v0.3.7

10 Jun 15:15
Compare
Choose a tag to compare

0.3.7 (June 10, 2022)

IMPROVEMENTS:

  • agent: Scale target so it is within min and max values before evaluating the rest of the policy [GH-588]
  • agent: Update hashicorp/nomad/api to v1.3.1 [GH-585]
  • agent: Update armon/go-metrics to v0.3.11 [GH-585]
  • build: Use alpine:3.15 as base image and provide an entrypoint to run nomad-autoscaler by default [GH-582]
  • build: Docker image with support for multiple architectures [GH-582]
  • plugin/apm/datadog: Update Datadog client dependency to v1.14.0 [GH-585]
  • plugin/apm/prometheus: Update Prometheus client dependency to v1.12.2 [GH-585]
  • plugin/target/aws: Update AWS client dependency to v1.16.4 [GH-585]
  • plugin/target/azure: Update Azure client dependency to v64.1.0 [GH-585]
  • plugin/target/gcp: Update GCP client dependency to 0.80.0 [GH-585]

BUG FIXES:

  • plugin/target/aws: Fixed a regression issue that broke the default AWS credential chain [GH-586]

v0.3.6

18 Feb 22:23
Compare
Choose a tag to compare

0.3.6 (February 18, 2022)

IMPROVEMENTS:

  • plugins/target/aws-asg: Support EC2 role credentials [GH-564]
  • policy: Add group to check configuration [GH-567]
  • policy: Add on_check_error and on_error configuration [GH-566]

v0.3.5

20 Jan 00:29
Compare
Choose a tag to compare

0.3.5 (January 20, 2022)

IMPROVEMENTS:

  • build: Updated to Go 1.17.6 [GH-556]

BUG FIXES:

  • plugins/apm/datadog: Log the correct rate limit error message [GH-552]
  • plugins/target/nomad: Reload status handlers on SIGHUP [GH-554]
  • policy: Fixed an issue that could cause a panic if the policy content is not read in time [GH-551]

v0.3.4

24 Nov 19:49
Compare
Choose a tag to compare

0.3.4 (November 24, 2021)

IMPROVEMENTS:

  • agent: Allow disabling specific policy sources [GH-544]
  • agent: Dispense fixed-value, pass-through, and threshold strategy plugins by default [GH-536]
  • build: Updated to Go 1.17 [GH-545]
  • plugins/apm/datadog: Add support for custom server site [GH-548]
  • plugins/apm/prometheus: Add support for basic auth and custom headers [GH-522]
  • plugins/apm/prometheus: Add support for TLS CA certificates [GH-547]
  • plugins/target/nomad: Reduce log level for active deployments error messages [GH-542]
  • policy: Prevent scaling cluster to zero when using the Nomad APM [GH-534]
  • scaleutils: Add combined filter to allow filtering by node class and datacenter [GH-535]
  • scaleutils: Improve node selection on scale in actions to avoid errors due to invalid nodes [GH-539]

BUG FIXES:

  • scaleutils: Fixed least_busy node selector on clusters running servers older than v1.0.0 [GH-508]
  • plugins/strategy/threshold: Fixed an issue where the wrong scaling action was taken even when the threshold was no met [GH-537]
  • plugins/target/nomad: Fixed an issue where a particular error message would not display the proper policy information [GH-538]
  • policy: Prevent panic when a non-vertical scaling policy uses a DAS plugin [GH-543]

v0.3.4-dev+d4b0a7

17 Nov 02:38
Compare
Choose a tag to compare
v0.3.4-dev+d4b0a7 Pre-release
Pre-release

Test release. Do not use in production.

v0.3.4-dev+f7f230

03 Sep 21:13
Compare
Choose a tag to compare
v0.3.4-dev+f7f230 Pre-release
Pre-release

Test release. Do not use in production.

v0.3.4-dev+3a8a77

01 Sep 00:25
Compare
Choose a tag to compare
v0.3.4-dev+3a8a77 Pre-release
Pre-release

Test release. Do not use in product

v0.3.3

03 May 19:48
Compare
Choose a tag to compare

0.3.3 (May 03, 2021)

FEATURES:

  • Threshold Strategy: A strategy plugin that allows for different scaling actions based on a set of tiers defined by upper and lower bound metric values [GH-483]
  • plugins/target: Horizontal cluster scaling can now use the node datacenter parameter to group nodes [GH-468]

BUG FIXES:

  • agent: Updated hashicorp/nomad/api to v1.1.0-beta to include several fixes [GH-488]
  • agent: Updated hashicorp/hcl/v2 to v2.10.0 to include several fixes [GH-481]
  • agent: Updated mitchellh/copystructure to v1.1.2 to include several fixes [GH-481]
  • agent: Updated hashicorp/go-hclog to v0.16.0 to include a fix to log rendering [GH-481]
  • agent: Updated armon/go-metrics to v0.3.7 to include a fix to Prometheus metrics expiry [GH-481]
  • plugins/target/aws-asg: Ensure user provided aws_region config option overrides AWS client region discovery [GH-474]

v0.3.2

06 Apr 19:17
Compare
Choose a tag to compare

0.3.2 (April 06, 2021)

FEATURES:

  • plugins/target: Add empty_ignore_system node selector strategy [GH-450]

BUG FIXES:

  • plugins/target: Ensure only empty nodes are selected when using the empty node selector strategy [GH-450]

v0.3.1

02 Apr 00:13
Compare
Choose a tag to compare

0.3.1 (April 01, 2021)

FEATURES:

  • Fixed Value Strategy: A strategy plugin that scales to a constant configured value [GH-436]
  • Pass Through Strategy: A strategy plugin uses the APM metric value as the output desired value [GH-433]
  • plugins/target: Horizontal cluster scaling targets can now configure node_selector_strategy to control the process which identifies nodes for termination [GH-435]

IMPROVEMENTS:

  • agent: Add CLI flags to configure policy evaluation [GH-421]
  • agent (Enterprise): Add CLI flags to configure Dynamic Application Sizing [GH-422]
  • plugins/target/aws-asg: Use single ASG call rather than split ASG/EC2 on scale-in [GH-425]
  • policy: Make query optional inside checks with strategies that don't require an APM [GH-442]

BUG FIXES:

  • agent: Updated hashicorp/go-hclog to v0.15.0 to include several fixes [GH-434]
  • agent: Updated hashicorp/hcl/v2 to v2.9.1 to include several panic fixes [GH-434]
  • agent: Updated mitchellh/cli to v1.1.2 to include a fix to auto-complete [GH-434]
  • agent: Updated armon/go-metrics to v0.3.6 to include a fix to the Prometheus sink [GH-434]
  • agent: Only allow querying Prometheus formatted metrics if Prometheus is enabled within the config [GH-416]
  • agent: Updated hashicorp/go-multierror to v1.1.1 to include a panic fix when using wrapped errors [GH-434]
  • agent: Fix an issue that could cause the agent to panic depending on the order configuration files were loaded [GH-420]
  • policy: Prevent panic on policy monitoring [GH-428]
  • policy: Ensure metric emitters use the correct context and are stopped when appropriate [GH-408]