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

按照1.11.x 安装k8s-ha集群,发现宿主机上无法ping通cluster-ip #52

Open
sky-daiji opened this issue Jan 24, 2019 · 4 comments

Comments

@sky-daiji
Copy link

No description provided.

@cookeem
Copy link
Owner

cookeem commented Jan 24, 2019

请检查你的calico是否正常部署

@cookeem
Copy link
Owner

cookeem commented Jan 24, 2019

kubectl get pods -n kube-system -o wide
NAME                                   READY     STATUS    RESTARTS   AGE       IP              NODE
calico-node-nxskr                      2/2       Running   0          46m       192.168.20.22   k8s-master03
calico-node-xv5xt                      2/2       Running   0          46m       192.168.20.20   k8s-master01
calico-node-zsmgp                      2/2       Running   0          46m       192.168.20.21   k8s-master02
coredns-78fcdf6894-kfzc7               1/1       Running   0          1h        172.168.2.3     k8s-master03
coredns-78fcdf6894-t957l               1/1       Running   0          46m       172.168.1.2     k8s-master02

@sky-daiji
Copy link
Author

image

@cookeem
Copy link
Owner

cookeem commented Jan 24, 2019

服务正常,你部署一个测试服务上去测测吧,clusterip不一定代表就是允许icmp的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants