From e562103ec3d84fa253ca50b929c9b34636b4a8f5 Mon Sep 17 00:00:00 2001 From: Travis Date: Mon, 10 Jul 2017 15:55:53 -0600 Subject: [PATCH] add gossip-seed to configuration docs --- docs/configuration.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index f93647cb5..5eecde849 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -144,6 +144,19 @@ Any flag that has a value that is a comma separated list on the command line bec data-dir = "~/.pilosa" ``` +#### Gossip Seed + +* Description: When using the gossip [Cluster Type]({{< ref "#cluster-type" >}}), this specifies which internal host should be used to initialize membership in the cluster. Typcially this can be the address of any available host in the cluster. For example, when starting a three-node cluster made up of `node0`, `node1`, and `node2`, the `gossip-seed` for all three nodes can be configured to be the address of `node0`. +* Flag: `--gossip-seed="localhost:11101"` +* Env: `PILOSA_GOSSIP_SEED="localhost:11101"` +* Config: + + ```toml + [cluster] + type = "gossip" + gossip-seed = "localhost:11101" + ``` + #### Profile CPU * Description: If this is set to a path, collect a cpu profile and store it there. @@ -199,4 +212,4 @@ Any flag that has a value that is a comma separated list on the command line bec ```toml [metric] poll-interval = "0m15s" - ``` \ No newline at end of file + ```