aylei / aylei/kubectl-debug

I can't join some pods

Open
#142 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

I join one pod, but another I cannot. What could be the reason for this?

```
$ k debug selection-staging-798847b54b-g6nf9
container created, open tty...
bash-5.1# hostname
selection-staging-798847b54b-g6nf9
bash-5.1# exit
exit

$ k debug selection-db-staging-5974f5b9c9-8lqp7
error execute remote, error sending request: Post http://10.147.245.22:10027/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2F84a34bba16510f36e4a3e044cd339eaa89af3c8f360b921fbcad60f548784fac&image=nicolaka%2Fnetshoot%3Alatest: dial tcp 10.147.245.22:10027: connect: connection refused
error: error sending request: Post http://10.147.245.22:10027/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2F84a34bba16510f36e4a3e044cd339eaa89af3c8f360b921fbcad60f548784fac&image=nicolaka%2Fnetshoot%3Alatest: dial tcp 10.147.245.22:10027: connect: connection refused
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two `k debug` commands from the issue and compare the successful pod with the failing database pod. The repository description says this project is no longer maintained and points to `JamesTGrant/kubectl-debug`, so investigation should continue there; done means identifying and documenting why the second debug request is refused.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.