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

Error - nsenter: can't execute 'bash': No such file or directory #44

Open
karlhaworth opened this issue Nov 30, 2022 · 1 comment
Open

Comments

@karlhaworth
Copy link

spawning "nsenter-sbpw85" on "docker-desktop"




nsenter: can't execute 'bash': No such file or directory
pod default/nsenter-sbpw85 terminated (Error)
pod "nsenter-sbpw85" deleted
@kvaps
Copy link
Owner

kvaps commented Dec 1, 2022

bash is specified by default because it exists on most nodes.
If you have no bash on your nodes, you can specify another shell, eg:

kubectl node-shell <node>  -- sh

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