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

k8s在部署完成之后,启用switchhosts之后 在命令行运行kubectl get pod -o wide等命令之后报错 #13

Open
qianqinpan opened this issue Apr 16, 2020 · 2 comments

Comments

@qianqinpan
Copy link

image
这是在dashboard中容器的运行情况
image
请问各位大神这是为啥子,就算是关了switchhosts的配置也不行

@archbobo
Copy link
Collaborator

192.168.2.1是你本机地址?

尝试下在switchhosts中添加如下行:
127.0.0.1 localhost, kubernetes.docker.internal

@qianqinpan
Copy link
Author

192.168.2.1是你本机地址?

尝试下在switchhosts中添加如下行:
127.0.0.1 localhost, kubernetes.docker.internal

本地IP是192.168.2.171
image

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