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

scale-meta: meta should be unique per job group. #88

Closed jrasell closed 4 years ago

jrasell commented 4 years ago

The autoscaler works by analysing all groups within a job then submitting the combined changes required to the scaler process to action. Therefore the metadata sent with a request should be part of the group request, not the function call allowing for metadata to be unique per group.