启动完controller-manager.service日志显示connection refused
来源:7-6 基础集群部署(下)
慕移动0461066
2018-11-15
Nov 15 02:07:27 server01 kube-controller-manager[5063]: E1115 02:07:27.297097 5063 leaderelection.go:224] error retrieving resource lock kube-system/kube-controller-manager: Get http://127.0.0.1:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp 127.0.0.1:8080: getsockopt: connection refused
root@server01:~/kubernetes-starter# systemctl status kube-controller-manager.service
● kube-controller-manager.service - Kubernetes Controller Manager
Loaded: loaded (/lib/systemd/system/kube-controller-manager.serv
Active: active (running) since Thu 2018-11-15 01:55:51 PST; 9min
Docs: https://github.com/GoogleCloudPlatform/kubernetes
Main PID: 5063 (kube-controller)
Tasks: 5
Memory: 29.1M
CPU: 5.316s
CGroup: /system.slice/kube-controller-manager.service
└─5063 /root/kubernetes-bins/kube-controller-manager --a
老师请问这是出了什么问题呀
1回答
-
慕移动0461066
提问者
2018-11-15
已解决,配置文件忘记填端口号,填完之后还需要systemctl daemon-reload
并重新加载112020-03-19
相似问题