What are the instructions/cautions for nomad cluster restart?

Are there any instructions or best practices to follow in event which requires nomad cluster complete restart?

We’re in initial phase of adapting nomad in our infrastructure. We anticipate use cases where we may need restarting nomad server and client (using ansible) by calling systemctl restart nomad.

One particular use case is setting up a new consul_token in nomad (for rotation as we have decided to leverage vault at a later phase).

Hi @saurabh-sp-tripathi. The upgrading Nomad page has details on the best practice for upgrading Nomad, which could also be useful in this situation.

When restarting Nomad servers in particular, I would always suggest leaving the leader until last so that you create the least number of leader elections.

jrasell and the Nomad team

1 Like