Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allinone mode安装完成后 kubectl cluster-info Unable to connect to the server: EOF #364

Closed
yinggux opened this issue Nov 8, 2018 · 4 comments
Labels

Comments

@yinggux
Copy link

yinggux commented Nov 8, 2018

新手求助,求指导,先谢谢啦
Ubuntu16.4上执行 01-06 yml
各组件版本是allinone host 默认版本
etcd集群状态ok.
https://10.67.115.86:2379 is healthy: successfully committed proposal: took = 556.999µs
问题

kubectl cluster-info

Kubernetes master is running at https://10.67.115.86:6443

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Unable to connect to the server: EOF

kubectl cluster-info dump

Unable to connect to the server: EOF

kubectl get componentstatus

Unable to connect to the server: EOF

kubectl get node

Unable to connect to the server: EOF

journalctl -xe //没有明显错误信息

systemctl status docker有一个err msg
dockerd[9761]: time="2018-11-08T10:53:04.789877492+08:00" level=error msg="Handler for GET /v1.27/images/jmgao1983/flannel:v0.10.0-amd64/json

@gjmzj
Copy link
Collaborator

gjmzj commented Nov 8, 2018

贴一下 /etc/ansible/hosts文件看看

@yinggux
Copy link
Author

yinggux commented Nov 14, 2018

贴一下 /etc/ansible/hosts文件看看

只改了这几个IP
[deploy]
#192.168.1.1 NTP_ENABLED=no
10.67.115.86 NTP_ENABLED=no

[etcd]
#192.168.1.1 NODE_NAME=etcd1
10.67.115.86 NODE_NAME=etcd1

[kube-master]
#192.168.1.1
10.67.115.86

[kube-node]
#192.168.1.1
10.67.115.86
.....

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Mar 25, 2023
@github-actions
Copy link

github-actions bot commented Apr 2, 2023

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants