Kubernetes 啓動錯誤彙總

主節點上etcd啓動失敗

etcd啓動流程:一、先關閉slave節點上的etcd。二、再啓動master上的etcd ,等待master上的etcd啓動完成後再啓動 slave上的etcddocker

健康檢查:
一、cd /opt/etcd/ssl/ide

二、[root@docker ssl]# /opt/etcd/bin/etcdctl --ca-file=ca.pem --cert-file=server.pem --key-file=server-key.pem \
--endpoints="https://192.168.1.13:2379,https://192.168.1.23:2379,https://192.168.1.24:2379" cluster-health
如下爲正常
member 86ab7347ef3517f6 is healthy: got healthy result from https://192.168.1.23:2379
member b08a644fd7247c5e is healthy: got healthy result from https://192.168.1.13:2379
member d5c3beb629639303 is healthy: got healthy result from https://192.168.1.24:2379
cluster is healthyserver

相關文章
相關標籤/搜索