-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to scale down task groups independently in nomad #24947
Comments
Hey there @sijo13, thanks for the report! I'm afraid I'm not able to replicate with Nomad I used your example job specification with just a couple of changes:
so that I could test them on a dev agent on its own: my jobspec:
|
Hi,
We are using an open-source version of Nomad. Nomad version is v1.9.3
There is an issue where we are unable to scale down task groups in a job independently.
When a task group is scaled down or up, it causes the task beloging to another group of same job to restart.
Reproduction steps
In the below job specification, we have 2 task groups, nginx-group1 and nginx-group2.
scaling down
nginx-group1
to 0.nomad_job % nomad job scale nginx nginx-group1 0
This will result in restart the allocation belonging to
nginx-group2
Expected Result
Nomad task groups should scale up and down independently
The text was updated successfully, but these errors were encountered: