...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ etcdctl member list --write-out=table +------------------+---------+-------+------------------------------+------------------------------+------------+ | ID | STATUS | NAME | PEER ADDRS | CLIENT ADDRS | IS LEARNER | +------------------+---------+-------+------------------------------+------------------------------+------------+ | 10d6fab05b506a11 | started | etcd3 | https://192.168.100.180:2380 | https://192.168.100.180:2379 | false | | 263e9aba708b17f7 | started | etcd1 | https://192.168.100.151:2380 | https://192.168.100.151:2379 | false | | 74e5f49a4cd290f1 | started | etcd2 | https://192.168.100.88:2380 | https://192.168.100.88:2379 | false | +------------------+---------+-------+------------------------------+------------------------------+------------+ $ etcdctl endpoint health --write-out=table +------------+--------+--------------+-------+ | ENDPOINT | HEALTH | TOOK | ERROR | +------------+--------+--------------+-------+ | etcd2:2379 | true | 10.314162ms | | | etcd1:2379 | true | 10.775429ms | | | etcd3:2379 | true | 114.846224ms | | +------------+--------+--------------+-------+ $ etcdctl endpoint status --write-out=table +------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+ | ENDPOINT | ID | VERSION | DB SIZE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS | +------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+ | etcd1:2379 | 263e9aba708b17f7 | 3.5.4 | 31 MB | false | false | 5 | 296505 | 296505 | | | etcd2:2379 | 74e5f49a4cd290f1 | 3.5.4 | 30 MB | true | false | 5 | 296505 | 296505 | | | etcd3:2379 | 10d6fab05b506a11 | 3.5.4 | 30 MB | false | false | 5 | 296505 | 296505 | | +------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+ |
...