server: backport 15743, improved description of --initial-cluster-state flag

Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
This commit is contained in:
sharathsivakumar
2023-04-25 08:02:39 +02:00
parent 217d183e5a
commit c0f2954e9f
2 changed files with 3 additions and 2 deletions

View File

@ -101,7 +101,8 @@ Clustering:
--initial-cluster 'default=http://localhost:2380'
Initial cluster configuration for bootstrapping.
--initial-cluster-state 'new'
Initial cluster state ('new' or 'existing').
Initial cluster state ('new' when bootstrapping a new cluster or 'existing' when adding new members to an existing cluster).
After successful initialization (bootstrapping or adding), flag is ignored on restarts.
--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.