Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make kubectl-flame exit automatically when specific errors occur #39

Open
nevermosby opened this issue Feb 19, 2021 · 1 comment
Open

Comments

@nevermosby
Copy link

I got this error when I use kubectl-flame to profile a golang application, which is expected as I do not specify the process name.
kubectl-flame-pgrep

Not what I expected is the process cannot terminated automatically and I had to stop it manually.
As the error cause is clear and the best way to solve is let user run kubectl-flame again with correct command, is it possible to make kubectl-flame exit automatically when specific errors occur?

Best wishes.

@edeNFed
Copy link
Contributor

edeNFed commented Feb 20, 2021

Thanks for reporting @nevermosby
We will sure be fixing this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants