openHPI / poseidon

Scalable task execution orchestrator for CodeOcean
MIT License
8 stars 1 forks source link

Nomad Agent Eligibility for Deployments #683

Open mpass99 opened 1 week ago

mpass99 commented 1 week ago

We already have a service that makes the Nomad Agent eligible again after a restart. However, we do not make it ineligible before draining as suggested officially. This might be obsolete, as our deployments no longer restart all agents together but after each other.

MrSerth commented 1 week ago

I thought that the Nomad agent is set to ineligible due to the leave_on_interrupt, leave_on_terminate, and drain_on_shutdown settings. However, it might be a good idea to validate that understanding once again.