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

scaleutils: add post scale helper to run node purge after scale in #257

Closed
jrasell opened this issue Sep 4, 2020 · 0 comments · Fixed by #258
Closed

scaleutils: add post scale helper to run node purge after scale in #257

jrasell opened this issue Sep 4, 2020 · 0 comments · Fixed by #258
Assignees

Comments

@jrasell
Copy link
Member

jrasell commented Sep 4, 2020

The Nomad node purge API call was recently added to the Nomad Go SDK. This addition allows the Nomad Autoscaler to purge Nomad nodes once they have been scaled in. This keeps the node list tidy particuary in environments which scale on a frequent basis. Without the purge call, the nodes will eventually be removed from the list by the Nomad GC.

The behaviour should probably have a config flag, allowing the operator to decide whether or not scaled nodes are purge from the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant