HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

etcd — A distributed, reliable key-value store for the most critical data of a distributed system. More inf

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandreliablevaluestoredistributedkeyclietcd

Problem

How to use the etcd command: 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>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/etcd

Revisions (0)

No revisions yet.