aylei / aylei/kubectl-debug

如何在--fork 的情况下加载目标容器的环境配置

Open
#106 0 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

场景:
有个pod启动失败了 ,我fork了一个 想启动下程序来进行debug,但是我发现 出现了很多 依赖的确实,

需求:
是否有办法fork的时候能够加载目标容器的环境?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how kubectl-debug handles --fork and how the target pod's container environment is obtained. Confirm the missing dependencies and define whether the fork should inherit the target container's environment configuration. Done means a forked debug container can start with the target environment available.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.