etcdctl

CLI interface for interacting with etcd, a highly-available key-value pair…

etcdctl

CLI interface for interacting with etcd, a highly-available key-value pair store. Etcd stores data in hierarchically organized directories, as in a standard filesystem. More information: https://etcd.io/docs/latest/dev-guide/interacting_v3/.

etcdctl get {{my/key}}

etcdctl put {{my/key}} {{my_value}}

etcdctl del {{my/key}}

etcdctl put {{my/file}} < {{path/to/file.txt}}

etcdctl snapshot save {{path/to/snapshot.db}}

etcdctl snapshot restore {{path/to/snapshot.db}}

etcdctl user add {{my_user}}

etcdctl watch {{my/key}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← etcd eva →