etcdctl
Interact with
etcd, a highly-available key-value pair store. More information: https://etcd.io/docs/latest/dev-guide/interacting_v3/.
- Display the value associated with a specified key:
etcdctl get
- Store a key-value pair:
etcdctl put
- Delete a key-value pair:
etcdctl del
- Store a key-value pair, reading the value from a file:
etcdctl < put
- Save a snapshot of the etcd keystore:
etcdctl snapshot save
- Restore a snapshot of an etcd keystore (restart the etcd server afterwards):
etcdctl snapshot restore
- Add a user:
etcdctl user add
- Watch a key for changes:
etcdctl watch
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
