Skip to content

Nomad server leave automatically but not permanently #27157

@EtienneBruines

Description

@EtienneBruines

Proposal

Have Nomad servers (and potentially clients?) notify the leader whenever they interrupt/terminate. Something like leave_on_interrupt but then less permanent.

For follower-servers, we have to wait a while for the leader to pick up on the follower being offline.

Currently I'm not sure whether leader-servers already do this, but I'd imagine something like nomad operator step-down (doesn't exist in Nomad, but does in Vault) would be useful to have Nomad do on shutdown.

In cases where we know the server will be offline for a while (e.g. reboot), there's no need to wait for timeouts/heartbeats.

Use-cases

  • Checking server-health more reliably (e.g. when deciding "Can I, a follower node, reboot right now?`)

Attempted Solutions

  • Waiting about 5-10 seconds to see Alive change in Left.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions