Releases: hashicorp/nomad-autoscaler
Releases · hashicorp/nomad-autoscaler
v0.3.0
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
v0.2.0
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 tocheck
[GH-268] - policy/file: Allow multiple policies per file [GH-313]
v0.1.1
v0.1.0
Requires Nomad 0.12.0 or later.
BACKWARDS INCOMPATIBILITIES:
- policy: allow multiple
check
s in a policy [GH-176] - agent: the
scan-interval
CLI flag and top-leveldefault_evaluation_interval
config option have been removed and replaced bypolicy-default-evaluation-interval
andpolicy.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:
v0.0.2
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 todefault_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:
v0.0.1-techpreview2
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
Initial Tech Preview. Requires Nomad 0.11-beta1.