node-discover
node-discover copied to clipboard
cluster with nodes in the different subnets it is possible?
i think manually add ip-adresses of nodes from rancher-metadata (some service with node-list)
for example ip is dunamic and can be 10.42.185.29, 10.42.2.232, 10.42.69.231 ..
how i can add this nodes to cluster or make right broadcast ?
You can specify specific addresses with the unicast option, but that really disables the automatic discovery without extra event handling.
const Discover = require('node-discover');
const d = new Discover({
unicast : ['10.42.185.29','10.42.2.232','10.42.69.231']
});