I know its optional and only used when authentication is required.
Is using the token parameter while setting up clusterodm and nodeodm same with docker? Like does it mean that all the token values should be same(token1 == token2 == token3) or which combination applies? Because in all the --help options and documentation, it just says
Sets a token that needs to be passed for every request. This can be used to limit access to he node only to token holders. (default: none)
This information is ambiguous and does not make the difference clear between the two similar types.
A token is a simple authentication control that getβs passed to the node. It gets set with a flag when a node is initiated, whether NodeODM or ClusterODM, and that node wonβt allow jobs without it. It could be all the same token between different nodes, or a different one for each node.
Generally, if you are using ClusterODM with a bunch of nodes, you would protect the nodes with a firewall and leave them initiated without a token, but if ClusterODM were available to the world, protect that end point with a token.
On the same issue, I wish it could be specified in the documentation and there could be clear instructions on how not to confuse it with other similar areas.