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

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

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

渣渣辉   2019-12-26 我要评论

查看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

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

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

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

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们