二进制搭建完成后scheduler提示dial tcp 127.0.0.1:10251: connect: connection refused
来源:5-5 部署kubernetes控制平面

低调远行
2021-05-05
root@node1:~# kubectl get cs
Warning: v1 ComponentStatus is deprecated in v1.19+
NAME STATUS MESSAGE ERROR
scheduler Unhealthy Get “http://127.0.0.1:10251/healthz”: dial tcp 127.0.0.1:10251: connect: connection refused
controller-manager Healthy ok
etcd-2 Healthy {“health”:“true”}
etcd-0 Healthy {“health”:“true”}
etcd-1 Healthy {“health”:“true”}
写回答
1回答
-
没问题,scheduler这个http的端口我们关掉了。更加安全。
032021-05-06
相似问题