forked from etcd-io/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created 'How to conduct leader elections in etcd cluster' page (etcd-…
…io#513) * Created 'How to conduct leader elections in etcd cluster' page * Added tutorials section and removed the portion from demo page * Fixed broken link
- Loading branch information
Showing
3 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Tutorials | ||
--- |
15 changes: 15 additions & 0 deletions
15
content/en/docs/v3.5/tutorials/how-to-conduct-elections.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: How to conduct leader election in etcd cluster | ||
description: Guide to conducting leader election in an etcd cluster | ||
--- | ||
|
||
`elect` for leader election: | ||
|
||
![09_etcdctl_elect_2016050501](https://storage.googleapis.com/etcd/demo/09_etcdctl_elect_2016050501.gif) | ||
|
||
```shell | ||
etcdctl --endpoints=$ENDPOINTS elect one p1 | ||
|
||
# another client with the same name blocks | ||
etcdctl --endpoints=$ENDPOINTS elect one p2 | ||
``` |