-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow to run node shell on Bootlerocket and Windows nodes #7965
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Piotr Roszatycki <[email protected]>
00eb857
to
83b2ce6
Compare
Signed-off-by: Piotr Roszatycki <[email protected]>
Any update on this? Would love to pop into Bottlerocket using Lens like I do for AL2. |
Would this be available soon? 🙏🏾 |
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
This is a reworked node-shell feature. It allows to run it on Bottlerocket OS and Windows nodes where there is no
sh
norbash
command.Unfortunately, node-shell pods cannot be autoremoved anymore with
sleep
command. It is because now single pod is created and thenkubectl attach
is run. It is becausekubectl exec
withnsenter
command won't work: Bottlerocket OS is SELinux hardened thennsenter
won't have privileges to run inkubectl exec
context.Anyway: node-shell pods are correctly removed after the terminal is closed.
Because Windows needs separate image, there is a separate setting now:
Node shell for Ubuntu:
Node shell for Bottlerocket:
Node shell for Windows 2022: