jrasell / sherpa

Sherpa is a highly available, fast, and flexible horizontal job scaling for HashiCorp Nomad. It is capable of running in a number of different modes to suit different requirements, and can scale based on Nomad resource metrics or external sources.
Mozilla Public License 2.0
163 stars 8 forks source link

Internal autoscaling thresholds are now configurable within policy. #9

Closed jrasell closed 5 years ago

jrasell commented 5 years ago

Previously the internal autoscaling thresholds for CPU and memory were fixed at 80% and 20% using constants which could not be changed by the user. This update now makes the thresholds configurable via scaling policies so that users can customise the thresholds per task group. If the user does not specify thresholds, the 80:20 defaults will be used.