mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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:
parent
7ff8ec81ee
commit
5eb57c2aee
@ -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 (
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user