aylei / aylei/kubectl-debug

cannot support pstack get process stack

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

The debug pod and the target pod use **different users**.

When entering the corresponding directory through **cd /proc/1/root/xxx**, the data obtained through `pstack ` is all abnormal data, not the desired data. Then, the user group is modified through groupmod and usermod. The data output by pstack is not what is desired either.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are identified. Begin by reproducing the abnormal `pstack ` output from the debug pod after entering `/proc/1/root/xxx`, comparing the users and groups with the target pod. First confirm whether this repository can still receive changes, since it is marked unmaintained and points to another project; done would require a confirmed expected stack output and a reproducible fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, linux
Domain
cli, devops, operating-systems
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.