纵有疾风起
人生不言弃

http: TLS handshake error from x.x.x.x:43534: unexpected EOF

查看kube-apiserver一直报错如下:

I1226 06:49:10.108947 1 log.go:172] http: TLS handshake error from x.x.x:43534: unexpected EOF

I1226 06:44:10.110418 1 log.go:172] http: TLS handshake error from x.x.x.x:35946: unexpected EOF

http: TLS handshake error from x.x.x.x:43534: unexpected EOF插图

从报错提示说是TLS认证失败,排查过程:

  1. 由于用nginx+Keepalived做master高可用,怀疑是nginx的http健康检查导致。
  2. kubelet证书问题。
  3. 检查是否有其他服务调用apiserver的端口。

经过一项项排查,最后发现的是之前用Zabbix的http来监控了apiserver的端口,导致不受认证的,因为k8s集群开启了https。

http: TLS handshake error from x.x.x.x:43534: unexpected EOF插图1

文章转载于:https://www.cnblogs.com/Dev0ps/p/12102388.html

原著是一个有趣的人,若有侵权,请通知删除

未经允许不得转载:起风网 » http: TLS handshake error from x.x.x.x:43534: unexpected EOF
分享到: 生成海报

评论 抢沙发

评论前必须登录!

立即登录