kube-controller-manager报错
1.kube-controller-manager显示不健康,报如下错误
kube-controller-manager[3234]: I0723 10:26:35.027041 3234 log.go:172] http: TLS handshake error from 127.0.0.1:40108: tls: first record does not look like a TLS handshake
2.解决方案
修改/etc/systemd/system/kube-controller-manager.service,将
--port=0
--secure-port=10252
删除
3.systemctl daemon-reload
service kube-controller-manager restart
4.参考文档
https://github.com/opsnull/follow-me-install-kubernetes-cluster/issues/304