etcdmain: more description for init cluster token

This adds more description to initial-cluster-token from
https://github.com/coreos/etcd/issues/3690 to help.go.
This commit is contained in:
Gyu-Ho Lee 2015-11-10 09:26:33 -08:00
parent 7ff8ec81ee
commit 5eb57c2aee
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Every change should be reflected on help.go as well.
package etcdmain
import (

View File

@ -57,6 +57,7 @@ clustering flags:
initial cluster state ('new' or 'existing').
--initial-cluster-token 'etcd-cluster'
initial cluster token for the etcd cluster during bootstrap.
Specifying this can protect you from unintended cross-cluster interaction when running multiple clusters.
--advertise-client-urls 'http://localhost:2379,http://localhost:4001'
list of this member's client URLs to advertise to the public.
The client URLs advertised should be accessible to machines that talk to etcd cluster. etcd client libraries parse these URLs to connect to the cluster.