etcd: add Chinese translation (#6032)

This commit is contained in:
BillLucky 2021-05-23 22:50:20 +08:00 committed by GitHub
parent 9b654dd6c1
commit 0731957862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
pages.zh/common/etcd.md Normal file
View File

@ -0,0 +1,20 @@
# 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`