From 0731957862c409b354470d51eca147ae8f48497b Mon Sep 17 00:00:00 2001 From: BillLucky Date: Sun, 23 May 2021 22:50:20 +0800 Subject: [PATCH] etcd: add Chinese translation (#6032) --- pages.zh/common/etcd.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages.zh/common/etcd.md diff --git a/pages.zh/common/etcd.md b/pages.zh/common/etcd.md new file mode 100644 index 000000000..a5fae10c4 --- /dev/null +++ b/pages.zh/common/etcd.md @@ -0,0 +1,20 @@ +# etcd + +> 分布式,可靠的键值存储,用于分布式系统中存储最关键的数据。 +> 更多信息见:. + +- 启动单节点 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`