aylei / kubectl-debug

This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.
Apache License 2.0
2.31k stars 303 forks source link

debug request timeout #112

Open fafucoder opened 4 years ago

fafucoder commented 4 years ago

➜ ~ kubectl debug nginx-6db489d4b7-rxgmg error execute remote, error sending request: Post http://192.168.65.3:10027/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2Fe23e5f9bc8f99e0c2b1a4cd137de2d9852313d27a1591f9455b27ca9e4f0e4ce&image=nicolaka%2Fnetshoot%3Alatest: dial tcp 192.168.65.3:10027: connect: operation timed out error: error sending request: Post http://192.168.65.3:10027/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2Fe23e5f9bc8f99e0c2b1a4cd137de2d9852313d27a1591f9455b27ca9e4f0e4ce&image=nicolaka%2Fnetshoot%3Alatest: dial tcp 192.168.65.3:10027: connect: operation timed out

when i according to the install document install plugin, and debug a pod, but return connection timeout error

ugurarpaci commented 3 years ago

That is probably a lack of --agentless flag