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

Plugin debug-shell its not working #13

Open
rafilkmp3 opened this issue Apr 29, 2021 · 1 comment
Open

Plugin debug-shell its not working #13

rafilkmp3 opened this issue Apr 29, 2021 · 1 comment

Comments

@rafilkmp3
Copy link

kubectl debug-shell
error: --rm should only be used for attached containers
See 'kubectl run -h' for help and examples
@davidjeddy
Copy link

@rafilkmp3 Try this:

kubectl debug ${NAME_OF_A_RUNNING_POD} -it --image=alpine:latest --namespace ${POD_NAMESPACE}

Not stated in the docs but the cluster must have support for ephemeral containers.

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