记一次k8s etcd报错Unhealthy
使用命令某个节点ectd不健康
# kubectl get cs
NAME STATUS MESSAGE ERROR
controller-manager Healthy ok
scheduler Healthy ok
etcd-0 Healthy {"health":"true"}
etcd-1 Healthy {"health":"true"}
etcd-2 Unhealthy Get https://172.16.5.66:103/health: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
经过检查没有发现etcd配置问题
故障原因,kube-apiserver配置错误
并不影响使用
修改即可重启kube-apiserver