5.1.5.3. Useful Commands
To use the executable on the master, we will use the
etcdctlalias; to use etcdctl inside a container, use theectl,nectlaliases.
- etcdctl
- ectl
- nectl
- kectl
| Commands | Description |
|---|---|
| List ETCD cluster nodes from one of the nodes in table format |
| Display ETCD cluster node status in table format |
| List all keys and values whose key matches the given prefix. |
| List all keys whose key matches the given prefix. |
| Create a snapshot of the ETCD database state |
| Defragment the DB files. (When the cluster is stopped, use with the --data-dir flag specifying the file path) |
| Compact the data and assign a revision number |
| Commands | Description |
|---|---|
| List ETCD cluster nodes from one of the nodes in table format |
| Display ETCD cluster node status in table format |
| List all keys and values whose key matches the given prefix. |
| List all keys whose key matches the given prefix. |
| Create a snapshot of the ETCD database state |
| Defragment the DB files. (When the cluster is stopped, use with the --data-dir flag specifying the file path) |
| Compact the data and assign a revision number |
| Commands | Description |
|---|---|
| List ETCD cluster nodes from one of the nodes in table format |
| Display ETCD cluster node status in table format |
| List all keys and values whose key matches the given prefix. |
| List all keys whose key matches the given prefix. |
| Create a snapshot of the ETCD database state |
| Defragment the DB files. (When the cluster is stopped, use with the --data-dir flag specifying the file path) |
| Compact the data and assign a revision number |
| Commands | Description |
|---|---|
| List ETCD cluster nodes from one of the nodes in table format |
| Display ETCD cluster node status in table format |
| List all keys and values whose key matches the given prefix. |
| List all keys whose key matches the given prefix. |
| Create a snapshot of the ETCD database state |
| Defragment the DB files. (When the cluster is stopped, use with the --data-dir flag specifying the file path) |
| Compact the data and assign a revision number |