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

Skip evaluating system jobs when nodes go down or are deregistered #12981

Open
schmichael opened this issue May 13, 2022 · 0 comments
Open

Skip evaluating system jobs when nodes go down or are deregistered #12981

schmichael opened this issue May 13, 2022 · 0 comments

Comments

@schmichael
Copy link
Member

schmichael commented May 13, 2022

Continuation of #12955 (review)

As of Nomad 1.3.0 we use the same code for emitting node-update evaluations regardless of whether the node in question is going down (or deregistering) or coming back up.

When a node comes up, we re-evaluate all system jobs to ensure any relevant system jobs are started on the node.

However, there's no need to also re-evaluate all system jobs when a node goes down.

This could save a significant number of evaluations in clusters with system jobs and flappy nodes or a large network partition.

There may be opportunities to optimize the case where nodes are coming up, but I'm unsure of any at this time.

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

No branches or pull requests

1 participant