Kubernetes v1.10+Keepalived HA集群墙内部署实践

2023年 7月 9日 44.3k 0

[root@d1 ~]# systemctl start etcd
Job for etcd.service failed because a timeout was exceeded. See systemctl status etcd.service and journalctl -xe for details.
[root@d1 ~]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.38.51:2379 0.0.0.0:* LISTEN 1482/etcd
tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN 1482/etcd
tcp 0 0 192.168.38.51:2380 0.0.0.0:* LISTEN 1482/etcd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1041/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1176/master
tcp6 0 0 :::2375 :::* LISTEN 1057/dockerd
tcp6 0 0 :::3306 :::* LISTEN 1395/mysqld
tcp6 0 0 :::22 :::* LISTEN 1041/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1176/master
[root@d1 ~]# journalctl -xe
4月 02 11:38:28 d1 etcd[1482]: e11ee0e624c591e6 became candidate at term 1462
4月 02 11:38:28 d1 etcd[1482]: e11ee0e624c591e6 received MsgVoteResp from e11ee0e624c591e6 at term 1462
4月 02 11:38:28 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to cb80f68b7f867c0d at term 1462
4月 02 11:38:28 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to e4c5ac5207c18654 at term 1462
4月 02 11:38:29 d1 etcd[1482]: health check for peer cb80f68b7f867c0d could not connect: dial tcp 192.168.38.52:2380: getsockopt: con
4月 02 11:38:29 d1 etcd[1482]: health check for peer e4c5ac5207c18654 could not connect: dial tcp 192.168.38.53:2380: getsockopt: con
4月 02 11:38:29 d1 etcd[1482]: e11ee0e624c591e6 is starting a new election at term 1462
4月 02 11:38:29 d1 etcd[1482]: e11ee0e624c591e6 became candidate at term 1463
4月 02 11:38:29 d1 etcd[1482]: e11ee0e624c591e6 received MsgVoteResp from e11ee0e624c591e6 at term 1463
4月 02 11:38:29 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to cb80f68b7f867c0d at term 1463
4月 02 11:38:29 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to e4c5ac5207c18654 at term 1463
4月 02 11:38:31 d1 etcd[1482]: e11ee0e624c591e6 is starting a new election at term 1463
4月 02 11:38:31 d1 etcd[1482]: e11ee0e624c591e6 became candidate at term 1464
4月 02 11:38:31 d1 etcd[1482]: e11ee0e624c591e6 received MsgVoteResp from e11ee0e624c591e6 at term 1464
4月 02 11:38:31 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to cb80f68b7f867c0d at term 1464
4月 02 11:38:31 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to e4c5ac5207c18654 at term 1464
4月 02 11:38:32 d1 etcd[1482]: publish error: etcdserver: request timed out
4月 02 11:38:33 d1 etcd[1482]: e11ee0e624c591e6 is starting a new election at term 1464
4月 02 11:38:33 d1 etcd[1482]: e11ee0e624c591e6 became candidate at term 1465
4月 02 11:38:33 d1 etcd[1482]: e11ee0e624c591e6 received MsgVoteResp from e11ee0e624c591e6 at term 1465
4月 02 11:38:33 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to cb80f68b7f867c0d at term 1465
4月 02 11:38:33 d1 etcd[1482]: e11ee0e624c591e6 [logterm: 1359, index: 15] sent MsgVote request to e4c5ac5207c18654 at term 1465
4月 02 11:38:34 d1 etcd[1482]: health check for peer cb80f68b7f867c0d could not connect: dial tcp 192.168.38.52:2380: getsockopt: con
4月 02 11:38:34 d1 etcd[1482]: health check for peer e4c5ac5207c18654 could not connect: dial tcp 192.168.38.53:2380: getsockopt: con
4月 02 11:38:34 d1 etcd[1482]: e11ee0e624c591e6 is starting a new election at term 1465
4月 02 11:38:34 d1 etcd

威尔20115年前 (2018-04-02)登录以回复

相关文章

KubeSphere 部署向量数据库 Milvus 实战指南
探索 Kubernetes 持久化存储之 Longhorn 初窥门径
征服 Docker 镜像访问限制!KubeSphere v3.4.1 成功部署全攻略
那些年在 Terraform 上吃到的糖和踩过的坑
无需 Kubernetes 测试 Kubernetes 网络实现
Kubernetes v1.31 中的移除和主要变更

发布评论