aylei / aylei/kubectl-debug

阿里云k8s 报错

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

Description

```
> kubectl debug image-XXX --agentless=false
> error execute remote, error sending request: Post http://XXXX/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2Fead772b991c55ead39787cb589847c75a9555e0ce190b12032cc0cc289addf93&image=nicolaka%2Fnetshoot%3Alatest: unexpected EOF
```

这个是防火墙的问题吗?

```
> kubectl apply -f https://raw.githubusercontent.com/aylei/kubectl-debug/master/scripts/agent_daemonset.yml
```
创建pod失败,看日志

standard_init_linux.go:207: exec user process caused "no such file or directory"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the kubectl debug command and applying scripts/agent_daemonset.yml, then inspect the pod logs showing the exec failure and the unexpected EOF. Determine whether the failure is caused by the deployment or firewall and document a confirmed resolution, if the repository still accepts changes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.