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

error execute remote #119

Open
ZuoGuocai opened this issue Aug 11, 2020 · 1 comment
Open

error execute remote #119

ZuoGuocai opened this issue Aug 11, 2020 · 1 comment

Comments

@ZuoGuocai
Copy link

I execute the tool like this, but failed. The errors in the below:

# kubectl debug   getrealip-55f58f7b57-hj4rs   -n devops
error execute remote, error sending request: Post http://172.24.126.117:10027/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2Fafec33ee3669bc195dacea32a7fa9284d5c21367d92d36602b9d55fa1913a07e&image=nicolaka%2Fnetshoot%3Alatest: dial tcp 172.24.126.117:10027: connect: connection refused
error: error sending request: Post http://172.24.126.117:10027/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2Fafec33ee3669bc195dacea32a7fa9284d5c21367d92d36602b9d55fa1913a07e&image=nicolaka%2Fnetshoot%3Alatest: dial tcp 172.24.126.117:10027: connect: connection refused

@yestab123
Copy link

yestab123 commented Sep 15, 2020

If you use DaemonSet mode, try to add hostNetwork: true in DaemonSet config file

like

      dnsPolicy: ClusterFirst
      hostNetwork: true
      hostPID: true
      restartPolicy: Always

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