1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| [root@tvm-00 ~] 21b9c7066a7e525, started, etcd-01, http://10.10.9.68:2380, http://10.10.9.68:2379 516e519b2158e83a, started, etcd-02, http://10.10.9.69:2380, http://10.10.9.69:2379 [root@tvm-00 ~] Member 6cc2e7728adb6b28 added to cluster 3742ed98339167da ETCD_NAME="etcd-00" ETCD_INITIAL_CLUSTER="etcd-01=http://10.10.9.68:2380,etcd-02=http://10.10.9.69:2380,etcd-00=http://10.10.9.67:2380" ETCD_INITIAL_CLUSTER_STATE="existing" [root@tvm-00 ~] 21b9c7066a7e525, started, etcd-01, http://10.10.9.68:2380, http://10.10.9.68:2379 516e519b2158e83a, started, etcd-02, http://10.10.9.69:2380, http://10.10.9.69:2379 6cc2e7728adb6b28, unstarted, , http://10.10.9.67:2380, //部署新的 etcd 节点 [root@tvm-00 ~] [root@tvm-00 ~] //再次查看 k8s cluster 信息 [root@tvm-00 ~] kube-system etcd-tvm-00 1/1 Running 1 4h kube-system etcd-tvm-01 1/1 Running 0 1h kube-system etcd-tvm-02 1/1 Running 0 1h //etcd 的日志: [root@tvm-00 ~] //etcd clister 状态: [root@tvm-00 ~] --endpoints="http://10.10.9.67:2379,http://10.10.9.68:2379,http://10.10.9.69:2379" member List 21b9c7066a7e525, started, etcd-01, http://10.10.9.68:2380, http://10.10.9.68:2379 516e519b2158e83a, started, etcd-02, http://10.10.9.69:2380, http://10.10.9.69:2379 6cc2e7728adb6b28, started, etcd-00, http://10.10.9.67:2380, http://10.10.9.67:2379 [root@tvm-00 ~] "http://10.10.9.67:2379,http://10.10.9.68:2379,http://10.10.9.69:2379" endpoint status http://10.10.9.67:2379, 6cc2e7728adb6b28, 3.1.10, 3.8 MB, false, 7, 5236 http://10.10.9.68:2379, 21b9c7066a7e525, 3.1.10, 3.3 MB, true, 7, 5236 http://10.10.9.69:2379, 516e519b2158e83a, 3.1.10, 3.3 MB, false, 7, 5236
|