On startup, a node joins the cluster by calling the join endpoint on the master (this is done). Right after that, it should try to authenticate with the master with the credentials its received. If authentication is successful, store the token in a local variable so we can use it for later calls, otherwise print out joining failed.
On startup, a node joins the cluster by calling the
join
endpoint on the master (this is done). Right after that, it should try to authenticate with the master with the credentials its received. If authentication is successful, store the token in a local variable so we can use it for later calls, otherwise print out joining failed.