tldr/pages/common/etcd.md

21 lines
619 B
Markdown
Raw Normal View History

2020-12-12 20:07:25 +00:00
# etcd
> A distributed, reliable key-value store for the most critical data of a distributed system.
> More information: <https://etcd.io>.
- Start a single-node etcd cluster:
`etcd`
- Start a single-node etcd cluster, listening for client requests on a custom URL:
2020-12-12 20:07:25 +00:00
`etcd --advertise-client-urls {{http://127.0.0.1:1234}} --listen-client-urls {{http://127.0.0.1:1234}}`
- Start a single-node etcd cluster with a custom name:
`etcd --name {{my_etcd_cluster}}`
- Start a single-node etcd cluster with extensive metrics available at <http://localhost:2379/debug/pprof/>:
2020-12-12 20:07:25 +00:00
`etcd --enable-pprof --metrics extensive`