• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..24-Mar-2022-

.gitignoreH A D24-Mar-2022290 2423

.headerH A D24-Mar-2022593 1413

.travis.ymlH A D24-Mar-20224.9 KiB133123

.wordsH A D24-Mar-20221.3 KiB117116

ADOPTERS.mdH A D24-Mar-20229.7 KiB251190

CHANGELOG-2.3.mdH A D24-Mar-2022260 176

CHANGELOG-3.0.mdH A D24-Mar-202211.2 KiB292130

CHANGELOG-3.1.mdH A D24-Mar-202228.8 KiB579315

CHANGELOG-3.2.mdH A D24-Mar-202253.7 KiB1,015559

CHANGELOG-3.3.mdH A D24-Mar-202276.5 KiB1,095702

CHANGELOG-3.4.mdH A D24-Mar-202289.6 KiB995747

CHANGELOG-3.5.mdH A D24-Mar-202221.2 KiB263203

CHANGELOG-4.0.mdH A D24-Mar-20222.6 KiB5434

CONTRIBUTING.mdH A D24-Mar-20223.3 KiB9565

DCOH A D24-Mar-20221.4 KiB3727

Dockerfile-release.amd64H A D24-Mar-2022642 1813

Dockerfile-release.arm64H A D24-Mar-2022241 128

Dockerfile-release.ppc64leH A D24-Mar-2022243 128

Dockerfile-release.s390xH A D24-Mar-2022241 128

GOVERNANCE.mdH A D24-Mar-20223.7 KiB8161

LICENSEH A D24-Mar-202211.1 KiB203169

MAINTAINERSH A D24-Mar-20221 KiB2522

MakefileH A D24-Mar-202218.1 KiB546366

ProcfileH A D24-Mar-20221.6 KiB107

Procfile.learnerH A D24-Mar-2022900 139

Procfile.v2H A D24-Mar-20221.6 KiB87

README.mdH A D24-Mar-20228.8 KiB209140

ROADMAP.mdH A D24-Mar-2022900 2215

bill-of-materials.jsonH A D24-Mar-20229.9 KiB628627

bill-of-materials.override.jsonH A D24-Mar-2022254 1918

buildH A D24-Mar-2022117 73

build.batH A D24-Mar-202251 21

build.ps1H A D24-Mar-20222.7 KiB8266

build.shH A D24-Mar-20223.5 KiB12697

code-of-conduct.mdH A D24-Mar-2022143 42

codecov.ymlH A D24-Mar-2022482 1916

dummy.goH A D24-Mar-2022929 245

etcd.conf.yml.sampleH A D24-Mar-20223.5 KiB14195

testH A D24-Mar-2022115 73

test.shH A D24-Mar-202222 KiB704493

README.md

1# etcd
2
3[![Go Report Card](https://goreportcard.com/badge/github.com/etcd-io/etcd?style=flat-square)](https://goreportcard.com/report/github.com/etcd-io/etcd)
4[![Coverage](https://codecov.io/gh/etcd-io/etcd/branch/master/graph/badge.svg)](https://codecov.io/gh/etcd-io/etcd)
5[![Build Status Travis](https://img.shields.io/travis/etcd-io/etcdlabs.svg?style=flat-square&&branch=master)](https://travis-ci.com/etcd-io/etcd)
6[![Build Status Semaphore](https://semaphoreci.com/api/v1/etcd-io/etcd/branches/master/shields_badge.svg)](https://semaphoreci.com/etcd-io/etcd)
7[![Docs](https://img.shields.io/badge/docs-latest-green.svg)](https://etcd.io/docs)
8[![Godoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/etcd-io/etcd)
9[![Releases](https://img.shields.io/github/release/etcd-io/etcd/all.svg?style=flat-square)](https://github.com/etcd-io/etcd/releases)
10[![LICENSE](https://img.shields.io/github/license/etcd-io/etcd.svg?style=flat-square)](https://github.com/etcd-io/etcd/blob/master/LICENSE)
11
12**Note**: The `master` branch may be in an *unstable or even broken state* during development. Please use [releases][github-release] instead of the `master` branch in order to get stable binaries.
13
14![etcd Logo](logos/etcd-horizontal-color.svg)
15
16etcd is a distributed reliable key-value store for the most critical data of a distributed system, with a focus on being:
17
18* *Simple*: well-defined, user-facing API (gRPC)
19* *Secure*: automatic TLS with optional client cert authentication
20* *Fast*: benchmarked 10,000 writes/sec
21* *Reliable*: properly distributed using Raft
22
23etcd is written in Go and uses the [Raft][raft] consensus algorithm to manage a highly-available replicated log.
24
25etcd is used [in production by many companies](./ADOPTERS.md), and the development team stands behind it in critical deployment scenarios, where etcd is frequently teamed with applications such as [Kubernetes][k8s], [locksmith][locksmith], [vulcand][vulcand], [Doorman][doorman], and many others. Reliability is further ensured by [**rigorous testing**](https://github.com/etcd-io/etcd/tree/master/tests/functional).
26
27See [etcdctl][etcdctl] for a simple command line client.
28
29[raft]: https://raft.github.io/
30[k8s]: http://kubernetes.io/
31[doorman]: https://github.com/youtube/doorman
32[locksmith]: https://github.com/coreos/locksmith
33[vulcand]: https://github.com/vulcand/vulcand
34[etcdctl]: https://github.com/etcd-io/etcd/tree/master/etcdctl
35
36## Community meetings
37
38etcd contributors and maintainers have monthly (every four weeks) meetings at 11:00 AM (USA Pacific) on Thursday.
39
40An initial agenda will be posted to the [shared Google docs][shared-meeting-notes] a day before each meeting, and everyone is welcome to suggest additional topics or other agendas.
41
42[shared-meeting-notes]: https://docs.google.com/document/d/16XEGyPBisZvmmoIHSZzv__LoyOeluC5a4x353CX0SIM/edit
43
44
45Time:
46- [Jan 10th, 2019 11:00 AM video](https://www.youtube.com/watch?v=0Cphtbd1OSc&feature=youtu.be)
47- [Feb 7th, 2019 11:00 AM video](https://youtu.be/U80b--oAlYM)
48- [Mar 7th, 2019 11:00 AM video](https://youtu.be/w9TI5B7D1zg)
49- [Apr 4th, 2019 11:00 AM video](https://youtu.be/oqQR2XH1L_A)
50- [May 2nd, 2019 11:00 AM video](https://youtu.be/wFwQePuDWVw)
51- [May 30th, 2019 11:00 AM video](https://youtu.be/2t1R5NATYG4)
52- [Jul 11th, 2019 11:00 AM video](https://youtu.be/k_FZEipWD6Y)
53- [Jul 25, 2019 11:00 AM video](https://youtu.be/VSUJTACO93I)
54- [Aug 22, 2019 11:00 AM video](https://youtu.be/6IBQ-VxQmuM)
55- [Sep 19, 2019 11:00 AM video](https://youtu.be/SqfxU9DhBOc)
56- Nov 14, 2019 11:00 AM
57- Dec 12, 2019 11:00 AM
58- Jan 09, 2020 11:00 AM
59- Feb 06, 2020 11:00 AM
60- Mar 05, 2020 11:00 AM
61- Apr 02, 2020 11:00 AM
62- Apr 30, 2020 11:00 AM
63- May 28, 2020 11:00 AM
64- Jun 25, 2020 11:00 AM
65- Jul 23, 2020 11:00 AM
66- Aug 20, 2020 11:00 AM
67- Sep 17, 2020 11:00 AM
68- Oct 15, 2020 11:00 AM
69- Nov 12, 2020 11:00 AM
70- Dec 10, 2020 11:00 AM
71
72Join Hangouts Meet: [meet.google.com/umg-nrxn-qvs](https://meet.google.com/umg-nrxn-qvs)
73
74Join by phone: +1 405-792-0633‬ PIN: ‪299 906‬#
75
76
77## Getting started
78
79### Getting etcd
80
81The easiest way to get etcd is to use one of the pre-built release binaries which are available for OSX, Linux, Windows, and Docker on the [release page][github-release].
82
83For more installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://etcd.io/docs/latest/op-guide).
84
85For those wanting to try the very latest version, [build the latest version of etcd][dl-build] from the `master` branch. This first needs [*Go*](https://golang.org/) installed (version 1.13+ is required). All development occurs on `master`, including new features and bug fixes. Bug fixes are first targeted at `master` and subsequently ported to release branches, as described in the [branch management][branch-management] guide.
86
87[github-release]: https://github.com/etcd-io/etcd/releases
88[branch-management]: https://etcd.io/docs/latest/branch-management
89[dl-build]: https://etcd.io/docs/latest/dl-build#build-the-latest-version
90
91### Running etcd
92
93First start a single-member cluster of etcd.
94
95If etcd is installed using the [pre-built release binaries][github-release], run it from the installation location as below:
96
97```bash
98/tmp/etcd-download-test/etcd
99```
100
101The etcd command can be simply run as such if it is moved to the system path as below:
102
103```bash
104mv /tmp/etcd-download-test/etcd /usr/local/bin/
105etcd
106```
107
108If etcd is [built from the master branch][dl-build], run it as below:
109
110```bash
111./bin/etcd
112```
113
114This will bring up etcd listening on port 2379 for client communication and on port 2380 for server-to-server communication.
115
116Next, let's set a single key, and then retrieve it:
117
118```
119etcdctl put mykey "this is awesome"
120etcdctl get mykey
121```
122
123etcd is now running and serving client requests. For more, please check out:
124
125- [Interactive etcd playground](http://play.etcd.io)
126- [Animated quick demo](https://etcd.io/docs/latest/demo)
127
128### etcd TCP ports
129
130The [official etcd ports][iana-ports] are 2379 for client requests, and 2380 for peer communication.
131
132[iana-ports]: http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
133
134### Running a local etcd cluster
135
136First install [goreman](https://github.com/mattn/goreman), which manages Procfile-based applications.
137
138Our [Procfile script](./Procfile) will set up a local example cluster. Start it with:
139
140```bash
141goreman start
142```
143
144This will bring up 3 etcd members `infra1`, `infra2` and `infra3` and optionally etcd `grpc-proxy`, which runs locally and composes a cluster.
145
146Every cluster member and proxy accepts key value reads and key value writes.
147
148Follow the steps in [Procfile.learner](./Procfile.learner) to add a learner node to the cluster. Start the learner node with:
149
150```bash
151goreman -f ./Procfile.learner start
152```
153
154### Next steps
155
156Now it's time to dig into the full etcd API and other guides.
157
158- Read the full [documentation][fulldoc].
159- Explore the full gRPC [API][api].
160- Set up a [multi-machine cluster][clustering].
161- Learn the [config format, env variables and flags][configuration].
162- Find [language bindings and tools][integrations].
163- Use TLS to [secure an etcd cluster][security].
164- [Tune etcd][tuning].
165
166[fulldoc]: https://etcd.io/docs/latest
167[api]: https://etcd.io/docs/latest/learning/api
168[clustering]: https://etcd.io/docs/latest/op-guide/clustering
169[configuration]: https://etcd.io/docs/latest/op-guide/configuration
170[integrations]: https://etcd.io/docs/latest/integrations
171[security]: https://etcd.io/docs/latest/op-guide/security
172[tuning]: https://etcd.io/docs/latest/tuning
173
174## Contact
175
176- Mailing list: [etcd-dev](https://groups.google.com/forum/?hl=en#!forum/etcd-dev)
177- IRC: #[etcd](irc://irc.freenode.org:6667/#etcd) on freenode.org
178- Planning/Roadmap: [milestones](https://github.com/etcd-io/etcd/milestones), [roadmap](./ROADMAP.md)
179- Bugs: [issues](https://github.com/etcd-io/etcd/issues)
180
181## Contributing
182
183See [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.
184
185## Reporting bugs
186
187See [reporting bugs](https://etcd.io/docs/latest/reporting-bugs) for details about reporting any issues.
188
189## Reporting a security vulnerability
190
191See [security disclosure and release process](security/README.md) for details on how to report a security vulnerability and how the etcd team manages it.
192
193## Issue and PR management
194
195See [issue triage guidelines](Documentation/triage/issues.md) for details on how issues are managed.
196
197See [PR management](Documentation/triage/PRs.md) for guidelines on how pull requests are managed.
198
199## etcd Emeritus Maintainers
200
201These emeritus maintainers dedicated a part of their career to etcd and reviewed code, triaged bugs, and pushed the project forward over a substantial period of time. Their contribution is greatly appreciated.
202
203* Fanmin Shi
204* Anthony Romano
205
206### License
207
208etcd is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.
209