mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
767 B
Plaintext
26 lines
767 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# etcd
|
|
|
|
> A distributed, reliable key-value store for the most critical data of a distributed system.
|
|
> More information: <https://etcd.io/docs/latest/op-guide/configuration/#command-line-flags>.
|
|
|
|
- Start a single-node etcd cluster:
|
|
|
|
`etcd`
|
|
|
|
- Start a single-node etcd cluster, listening for client requests on a custom URL:
|
|
|
|
`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/>:
|
|
|
|
`etcd --enable-pprof --metrics extensive`
|