To unregister Nomad agent node from nomad cluster

Hi

If i have a nomad cluster containing a number of nodes. And there is a requirement to remove/unregister one node from cluster so that tasks cannot be launched for it further. How can this be done?

Hi @priyanka211.

In this situation you could use the node eligibility CLI command or API endpoint to update the eligibility of the node to ineligible so Nomad will no longer place work on it.

I hope this helps.