1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/etcd.md
Lena 8d3737dcbf
pages/*: add < > around links in example descriptions (#10594)
* pages/*: add `< >` around links in example descriptions

* Apply suggestions from code review

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* apm: add `< >` to the English page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-09-10 18:51:33 +05:30

20 lines
617 B
Markdown

# etcd
> 分布式,可靠的键值存储,用于分布式系统中存储最关键的数据。
> 更多信息:<https://etcd.io>.
- 启动单节点 etcd 集群:
`etcd`
- 启动一个单节点 etcd 集群,在自定义 URL 上侦听客户端请求:
`etcd --advertise-client-urls {{http://127.0.0.1:1234}} --listen-client-urls {{http://127.0.0.1:1234}}`
- 使用自定义名称启动单节点 etcd 集群:
`etcd --name {{my_etcd_cluster}}`
- 启动单节点 etcd 集群,同时可以在这里看到大量监控指标 <http://localhost:2379/debug/pprof/>
`etcd --enable-pprof --metrics extensive`