Make node ineligible for new allocations on cluster join

When making a client join a cluster, I’d like the client to be ineligible to accept job allocations until I intervene manually.

Is it possible to do this without needing a two step process to join and then quickly mark the client as ineligible, thus risking the client receiving jobs that then need to be drained?

Currently I’m using Consul for Nomad cluster discovery. As soon as the client joins the cluster, its eligible for allocating jobs.

1 Like

Hi @spaulg,

This is not currently possible without the two step process as you mention but I can see value in the enhancement. Would you be able to open a feature request against the Nomad repository? This will improve the visibility within the team and community and allow for potential roadmapping.

Thanks.
jrasell and the Nomad team

Raised as When making a client join a cluster, I’d like the client to be ineligible to accept job allocations until I intervene manually · Issue #10329 · hashicorp/nomad · GitHub