Commit Graph

385 Commits (8e79fd85cb5b217d83d649ab4d08f2974647f808)

Author SHA1 Message Date
zhangbaitong 518eb9fa2f docs:small fix
Signed-off-by: zhangbaitong <zhangbaitong@163.com>
2015-02-16 17:54:24 +08:00
Matis Hsiao fd90ec6c26 add etcd-console tool to tools list
i add etcd-console tool to tools list for reference
2015-02-11 10:43:21 +08:00
Rob Szumski 24b953a55d docs: add diagram and restructure for clarity 2015-02-10 17:34:23 -08:00
Yicheng Qin 54bef0d2cd Merge pull request #2233 from yichengq/315
docs: add allow_legacy_mode.md
2015-02-10 15:46:52 -08:00
Yicheng Qin d0677a24dd docs: add allow_legacy_mode.md 2015-02-10 15:46:26 -08:00
gabesullice df2a689d1c documentation: fix typo in Documentation/clustering.md
just an extra space needed to be removed.

Fixes #2279
2015-02-10 16:18:51 -07:00
Xiang Li 8d663078bf Documentation: document kv api change 2015-02-09 15:35:15 -08:00
Yicheng Qin c990099008 docs: fix stats response in api.md 2015-02-09 11:48:54 -08:00
Peter Rosell c8b5d47f24 Documentation: Correct defaults for heartbeat and election
Defaults for hearbeat-interval and election-timeout is updated according to configuration documentation.
2015-02-06 10:13:57 +01:00
Brandon Philips 860a8c8717 Documentation: grammar fixup in admin guide
Rephrase to avoid "becomes".
2015-02-04 21:28:43 -08:00
Rob Szumski b6936a0079 docs: fix broken link 2015-01-30 15:37:26 -08:00
Rob Szumski 87a8ebd222 docs: expand description of -initial-cluster-state 2015-01-30 14:14:51 -08:00
Rob Szumski 27e5b9a394 docs: clarify reconfig options 2015-01-30 14:14:28 -08:00
Omer Katz f5afe3cc34 Fixed typo in API documentation. 2015-01-30 14:14:18 -08:00
Rob Szumski 0945e487e7 docs: fix static clustering example
When using very similar flags to our examples, the cluster doesn't bootstrap due to mismatched protocols (`http` vs `https`) in the `-initial-advertise-peer-urls` and `initial-cluster` list:

```
./etcd -name infra0 -initial-advertise-peer-urls https://127.0.0.1:2380 \
>   -listen-peer-urls https://127.0.0.1:2380 \
>   -initial-cluster-token etcd-cluster-1 \
>   -initial-cluster infra0=http://127.0.0.1:2380,infra1=http://127.0.0.1:2381,infra2=http://127.0.0.1:2382 \
>   -initial-cluster-state new
2015/01/29 10:32:16 no data-dir provided, using default data-dir ./infra0.etcd
2015/01/29 10:32:16 etcd: listening for peers on https://127.0.0.1:2380
2015/01/29 10:32:16 etcd: listening for client requests on http://localhost:2379
2015/01/29 10:32:16 etcd: listening for client requests on http://localhost:4001
2015/01/29 10:32:16 etcd: stopping listening for client requests on http://localhost:4001
2015/01/29 10:32:16 etcd: stopping listening for client requests on http://localhost:2379
2015/01/29 10:32:16 etcd: stopping listening for peers on https://127.0.0.1:2380
2015/01/29 10:32:16 etcd: infra0 has different advertised URLs in the cluster and advertised peer URLs list
```
2015-01-29 13:44:13 -08:00
Yicheng Qin 0f2582e0be Merge pull request #2042 from yichengq/279
docs: improve doc for server timeout
2015-01-27 14:12:42 -08:00
Yicheng Qin a03c906e9d docs: improve doc for server timeout 2015-01-27 14:12:27 -08:00
Yicheng Qin c5adff4988 docs: fix details about 2.0 2015-01-27 13:52:37 -08:00
Yicheng Qin 9eaa79a12a Merge pull request #2137 from jurmous/patch-2
Update libraries-and-tools.md
2015-01-27 10:54:49 -08:00
efrecon 200d4d6f41 Update libraries-and-tools.md
This documents a reference to the Tcl bindings for the etcd API.

Fixes #2127
2015-01-26 14:18:08 +01:00
Jurriaan Mous f1dcefa834 docs: update etcd4j in libraries-and-tools 2015-01-26 11:34:02 +01:00
Yicheng Qin 37dde76cd5 *: remove consistent-get related stuffs 2015-01-15 22:21:53 -08:00
Xiang Li 1a6161d08a Merge pull request #2104 from xiang90/timeout
etcdserver: make heartbeat/election configurable
2015-01-15 13:52:20 -08:00
Yicheng Qin e8698b0e42 docs: update errorcode.md 2015-01-15 13:23:24 -08:00
Xiang Li 276a4abac0 etcdserver: make heartbeat/election configurable 2015-01-15 11:11:33 -08:00
Yicheng Qin e109836fef Merge pull request #2094 from yichengq/298
docs: remove discovery-protocol
2015-01-14 17:29:25 -08:00
Yicheng Qin 245e23ca47 docs: use 2.0 docs 2015-01-14 17:27:35 -08:00
Yicheng Qin 6bda827b67 Merge pull request #2096 from yichengq/299
docs: optimal-cluster-size -> 2.0/admin_guide
2015-01-14 17:24:45 -08:00
Yicheng Qin f1c6771726 docs: optimal-cluster-size -> 2.0/admin_guide 2015-01-14 17:23:37 -08:00
Xiang Li 467ce1e730 Merge pull request #2098 from yichengq/300
docs: refine security.md
2015-01-14 16:45:40 -08:00
Yicheng Qin 507021d884 docs: refine security.md 2015-01-14 16:42:05 -08:00
Yicheng Qin 2b94119fb1 docs: remove discovery-protocol
It is out-of-data, and will be reintroduced when the protocol is settled
down.
2015-01-14 15:20:48 -08:00
Xiang Li 41a30ff21b Merge pull request #2092 from yichengq/296
docs: remove cluster-discovery
2015-01-14 15:19:12 -08:00
Yicheng Qin 4df434334f docs: remove unused img/ 2015-01-14 15:17:57 -08:00
Yicheng Qin 1d02493a53 docs: remove cluster-discovery
It is covered by 2.0/clustering.md
2015-01-14 15:14:58 -08:00
Xiang Li d117a12d02 Merge pull request #2091 from yichengq/295
docs: remove clients-matrix
2015-01-14 15:09:04 -08:00
Yicheng Qin 23406dc2ee docs: remove clients-matrix
The doc is out of maintainence, and may confuse users. We will bring it
back when we have efforts and better method to manage client bindings.
2015-01-14 15:05:35 -08:00
Yicheng Qin e5daa2c6ca Merge pull request #2086 from xiang90/cluster_doc
doc: remove old clustering doc
2015-01-14 15:03:43 -08:00
Xiang Li 8e6297780b Merge pull request #2087 from xiang90/doc_rm
doc: remove out-of-dated docs
2015-01-13 20:58:15 -08:00
Xiang Li 3e268467c8 doc: remove out-of-dated docs 2015-01-13 18:35:11 -08:00
Xiang Li 733b655bfa doc: remove old clustering doc 2015-01-13 18:26:48 -08:00
Xiang Li 586a5e463e Merge pull request #2059 from trainchou/master
docs: fix send rate usage in api.md
2015-01-13 08:33:36 -08:00
周春寅 42ae6e5f5b docs: fix send rate usage in api.md 2015-01-13 23:18:12 +08:00
Yicheng Qin 6d288fa9e9 Merge pull request #2041 from yichengq/277
docs: add doc for server timeout
2015-01-05 15:27:02 -08:00
Yicheng Qin 88a9eedf06 docs: add doc for server timeout 2015-01-05 15:23:22 -08:00
Xiang Li d4a145ab0d doc: add note for watch api 2015-01-05 11:04:01 -08:00
Xiang Li bc6f062008 doc: add note for reconfiguration 2015-01-02 15:02:35 -08:00
Matthew Williams 08f74cf68f fix an error in the 2.0 config docs 2014-12-23 02:41:12 +00:00
Xiang Li ee7f23d0d5 doc: doc addition/fix for discovery-srv flag 2014-12-22 12:10:04 -08:00
Kelsey Hightower fb4781920c docs: document DNS bootstrapping 2014-12-19 17:51:03 -08:00
Kelsey Hightower 1f98d15535 docs: add dns bootstrap guide 2014-12-19 13:24:28 -08:00
Jonathan Boulle 4e6cbc937e *: change remaining 0.5 references -> 2.0 2014-12-18 16:14:42 -08:00
Barak Michener a5923e5b00 apologize profusely about locking on windows 2014-12-18 19:04:58 -05:00
Barak Michener 9f84be81a2 Add notification in docs re backup command 2014-12-18 18:58:01 -05:00
Brandon Philips fa35363f74 Documentation: update to 2.0
In anticipation for a 2.0.0-rc.0 release update and move the
documentation.
2014-12-18 10:18:26 -08:00
Xiang Li ce6f606766 doc: add backword_compatibility.md 2014-12-17 15:47:49 -08:00
Xiang Li a000e97eea Merge pull request #1956 from coreos/member-migration-example
doc: update node migration guide
2014-12-17 12:10:46 -08:00
Kelsey Hightower 2d76e5e273 doc: update node migration guide 2014-12-17 12:10:10 -08:00
Kelsey Hightower 0a14927823 docs: fix port in peer URLs 2014-12-17 10:51:52 -08:00
Xiang Li b90693ccae doc: specify listening addrs in the clustering example 2014-12-14 19:21:54 -08:00
Xiang Li e40a53b534 Merge pull request #1926 from jainvipin/master
minor fix for #1786
2014-12-13 16:26:59 -08:00
Vipin Jain 3f64c677e1 modify directory deletion sequence 2014-12-13 16:22:36 -08:00
Brandon Philips fa195dae39 Merge pull request #1929 from lisael/master
added aioetcd (python 3.4+) to client libs list
2014-12-12 16:43:29 -08:00
Xiang Li b7cd72b593 doc: add max wal/snap flags 2014-12-12 16:09:53 -08:00
lisael 1f0d43250f documentation: fix min python version for aioetcd 2014-12-12 23:46:34 +01:00
lisael 97025bf5f1 documentation: added aioetcd to client libs 2014-12-12 23:40:56 +01:00
Alex Crawford f054dd9d6f docs: Update the flags and environment variables
The configuration docs were missing some flags environment variables.
Arranged both lists in alphabetical order as well.
2014-12-11 16:26:05 -08:00
Rob Szumski 7e242acf04 docs: make clear that dashboard is a module 2014-12-10 14:21:29 -08:00
Rob Szumski 13f3158728 etcdserver: improve discovery ignore warning 2014-12-09 15:57:25 -08:00
Xiang Li 8065206839 doc: fix typo 2014-12-08 14:15:37 -08:00
Xiang Li cd878ea9a9 doc: add a link to the peer url section in other_apis.go 2014-12-08 14:14:33 -08:00
Xiang Li 091cc237e3 Merge pull request #1883 from xiang90/member_migration
doc: add doc for member migration
2014-12-08 14:09:09 -08:00
Xiang Li 069578c29c doc: add doc for member migration 2014-12-08 14:08:01 -08:00
Xiang Li 706b6f96b3 doc: http status for other_apis.md 2014-12-08 13:10:21 -08:00
Xiang Li e83e2bff92 doc: refactor other_apis.md 2014-12-08 11:46:24 -08:00
Xiang Li 2b519c90b9 doc: add doc for changing peer urls 2014-12-08 11:43:14 -08:00
ravigadde 16f9fd63ab doc: add etcd-lock into libraries-and-tools.md
Lock implementation for etcd. It has three go routines:
    a) acquire - loop that watches for the lock to be free and tries to acquire it.
    b) watch - to watch for lock changes
    c) refresh - to refresh the ttl when the lock is acquired

All the changes in lock ownership are notified on the events channel. Any feedback welcome!
2014-12-02 22:39:06 -08:00
Alan LaMielle 2b7af3d101 doc: uses spaces consistently in sample JSON
Replaces spurious uses of tabs with four spaces.  Removes strange
unicode space character with standard space character.
2014-12-02 06:43:07 -08:00
Yicheng Qin 07ca99f4d6 docs: add configuration doc 2014-11-25 11:09:29 -08:00
Barak Michener 192f200d9e Fix up migration tool, add snapshot migration
Fixes all updates since bcwaldon sketched the original, with cleanup and
into an acutal working state. The commit log follows:

fix pb reference and remove unused file post rebase

unbreak the migrate folder

correctly detect node IDs

fix snapshotting

Fix previous broken snapshot

Add raft log entries to the translation; fix test for all timezones. (Still in progress, but passing)

Fix etcd:join and etcd:remove

print more data when dumping the log

Cleanup based on yichengq's comments

more comments

Fix the commited index based on the snapshot, if one exists

detect nodeIDs from snapshot

add initial tool documentation and match the semantics in the build script and main

formalize migration doc

rename function and clarify docs

fix nil pointer

fix the record conversion test

add migration to test suite and fix govet
2014-11-14 16:46:08 -05:00
Jonathan Boulle 3f358b6d5d etcdserver: ensure initial-advertise-peer-urls match initial-cluster
This adds a check to setupCluster to ensure that the list of URLs
specified in `initial-advertise-peer-urls` matches those configured in
`initial-cluster` for this node. Also updates the documentation to
clarify this and address some changes in wording.
2014-11-12 12:54:35 -08:00
Xiang Li a0002d0598 doc: add fallback to discovery section in clustering.md 2014-11-10 12:14:19 -08:00
Xiang Li 1e299d8232 doc: add doc for proxy 2014-11-08 19:59:24 -08:00
Jonathan Boulle 3d2f65fc0d docs: clarify rewriting 2014-11-07 16:35:33 -08:00
Jonathan Boulle 6b283f6ea1 docs: reword failure descriptions 2014-11-07 16:34:19 -08:00
Jonathan Boulle 4367c9a1db docs: no need to stop etcd while doing backup 2014-11-07 16:25:38 -08:00
Jonathan Boulle a56fa60fb4 doc: add backup/restore guide 2014-11-07 16:14:45 -08:00
Jonathan Boulle ca1b30db10 etcdhttp: return 404 when removing nonexistent member 2014-11-06 16:59:40 -08:00
Xiang Li a1f5df22ad doc: document conflict case when adding a member 2014-11-06 11:16:49 -08:00
Kelsey Hightower 9c8f9b3560 Merge pull request #1585 from coreos/clean-up-other-apis-docs
docs: clean up other apis
2014-11-06 10:48:02 -08:00
Åsmund Grammeltvedt 0d8345e0c1 Fix typo in docs
Suggesting that users add two nodes with the same name is probably not a
good idea.
2014-11-06 10:49:40 +01:00
Yicheng Qin 5d755bd54a docs: describe the lifetime of discovery url 2014-11-06 00:31:19 -08:00
Kelsey Hightower cc0ef16346 docs: clean up other apis
The docs for the other APIs use curl for example usage, which matches
the docs for the etcd APIs.

Other cleanup include fixing usage of peer ports and using 10.0.0.x IPs
throughout.
2014-11-03 17:14:08 -08:00
Kelsey Hightower 20df86e3c3 docs: clean up clustering doc 2014-11-03 09:51:50 -08:00
Kelsey Hightower 3068340a83 docs: fix usage of peers urls 2014-11-02 22:00:41 -08:00
Brandon Philips 124dd7096a Documentation: add the runtime configuration document 2014-10-31 15:16:45 -07:00
Yicheng Qin 74886713db Merge pull request #1567 from unihorn/199
*: name node{1,2,3} -> infra{1,2,3}
2014-10-31 14:53:34 -07:00
Yicheng Qin 1db23109ad *: name node{1,2,3} -> infra{1,2,3}
Be consistent with the naming in documentations.
2014-10-31 14:46:39 -07:00
Brandon Philips b6cc34b52e Documentation: fixup the admin_guide
- Provide more concrete examples and explanation
- Cleanup the formatting to one sentence per line, this makes reviewing
  easier
- Point to existing docs on wal and snap instead of trying to duplicate
  it here again.
2014-10-31 14:11:27 -07:00
Xiang Li 8e633db5cb doc: add doc for initial-cluster-token 2014-10-30 17:08:15 -07:00