Open alekskar opened 4 years ago
This seems to be correct. If you want 2 counts by default (the minimum) why don't you start nomad job with count 2? OR why don't you start sherpa with min 1 and max 4 ? I think the way it is working at the moment is correct.
@alekskar and @iahim thanks for the information and what you notice is correct. I have it in my backlog to fix this and relates to this tweet I sent to try and gain opinions: https://twitter.com/jrasell/status/1205786409736515584
This seems to be correct. If you want 2 counts by default (the minimum) why don't you start nomad job with count 2? OR why don't you start sherpa with min 1 and max 4 ? I think the way it is working at the moment is correct.
@iahim This is just about desired state. As a user I would like to be ensure that after applying scale policy autoscaller automatically adjust number of tasks to desired count within upper and lower bounds.
Describe the bug When applying policy with interval [MinCount, MaxCount ] to existent job with count value lower than MinCount scaling out is not occurs.
To reproduce Steps to reproduce the behavior ideally with policy and job examples. Nomad job example
Expected behavior Desired number of tasks becomes scalled out to 2.
Environment:
Sherpa server information (retrieve with
sherpa system info
):Sherpa CLI version (retrieve with
sherpa --version
):Server Operating System/Architecture: Docker on Ubuntu 18
Sherpa server configuration parameters: