Skip to content
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

autoscaling policies should not be returned for missing jobs #7768

Closed
cgbaker opened this issue Apr 21, 2020 · 1 comment · Fixed by #7772
Closed

autoscaling policies should not be returned for missing jobs #7768

cgbaker opened this issue Apr 21, 2020 · 1 comment · Fixed by #7772
Assignees
Labels
theme/api HTTP API and SDK issues theme/autoscaling Issues related to supporting autoscaling type/bug
Milestone

Comments

@cgbaker
Copy link
Contributor

cgbaker commented Apr 21, 2020

Nomad version

0.11.0

Issue

When a job is stopped, its policies are still return from the /v1/scaling/policies endpoint. This doesn't seem to serve any use case; furthermore, it can make it more difficult for external autoscalers to keep track of policies that should be considered.

Instead, policies should be understood to be deleted when the associated job is stopped (instead of only happening when the job is ultimately deleted).

@cgbaker cgbaker added theme/api HTTP API and SDK issues theme/autoscaling Issues related to supporting autoscaling labels Apr 21, 2020
@cgbaker cgbaker added this to the 0.11.1 milestone Apr 21, 2020
@cgbaker cgbaker self-assigned this Apr 21, 2020
@cgbaker cgbaker modified the milestones: 0.11.1, 0.11.2 Apr 21, 2020
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/api HTTP API and SDK issues theme/autoscaling Issues related to supporting autoscaling type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant