Hi there, I am fairly new into Nomad and likely still missing the big picture.
For my test use case I set up a production-grade Nomad cluster with three Hetzner Cloud VMs (one server and two clients). The VMs are conntected using an internal network. The server advertises itself at 10.0.0.0 (but binds to 0.0.0.0) and the clients are using the internal IP address to join the cluster.
At Hetzner every VM always comes with an external IP (which is a good thing because I want to access the dashboard and webservices deployed in Nomad via public Internet).
I’m now wondering how Nomad decides which clients are allowed to join the cluster. I tried joining using an external VM via the server’s public IP address and it actually registered with the cluster (even though it got marked as “down”).
Is there any way besides using TLS certificates to ensure that only specific Nomad clients can join a cluster? I’d like not to use the “verify_https_client” option for that because it results in a lot of overhead to distribute these certificates for CLI and Terraform.
Is there any documentation regarding how this works? I’ve read through Nomad architecture and network connectivity, but was not able to find answers to these questions.
Any help is greatly appreciated 