1 Machine per Cluster

@victorstewart,

I definitely understand where the impulse to create this configuration comes from, so I wanted to share the biggest risks that you will encounter with this configuration.

  1. You are not fault tolerant whatsoever, so while it will feel like Nomad and you will be able to use it like Nomad, you aren’t receiving the primary of the benefits of Nomad.

    a. Drains and rolling upgrades will not work as documented because there is no place to move the active workload to. I have no doubt that you surmised this, but I thought it was worth dropping in for folks who might have not.

  2. If you have to change the IP address of your node (or it could be changed in a restart—less of a concern in a bare-metal situation), you will either have to do peers.json recovery or wipe your state. The IP address is a component of the member ID in the raft data.

Servers are low intensity tasks and can run on rather small nodes if your cluster is not very active. Consider if there is any server capacity that you can scrounge. For a starting cluster, you could likely colocate a Nomad server process with another application—clients less so because of the workload aspect.

I’m excited to hear about you starting your Nomad journey and hope you find it to your liking.

Best,
Charlie Voiselle
Product Education Engineer, Nomad

1 Like