aylei / aylei/kubectl-debug

在 debug-agent-pod 中如何读写目标 pod 的文件?

Open
#101 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

在 debug-agent-pod 中有可能读写目标 pod 的文件吗?如 配置文件 或 日志文件。
另外在 debug 过程中如何 exec debug-agent-pod ? 试过,sh, /bin/sh, /usr/bin/sh 都报类似的错误提示:
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the issue's questions about reading and writing target-pod files and executing commands in debug-agent-pod. The repository description says this project is no longer maintained and points to JamesTGrant/kubectl-debug, so check that successor project before determining whether this work is still relevant.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, devops
Issue type
Feature
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.