lens icon indicating copy to clipboard operation
lens copied to clipboard

Allow to run node shell on Bootlerocket and Windows nodes

Open dex4er opened this issue 1 year ago • 2 comments

This is a reworked node-shell feature. It allows to run it on Bottlerocket OS and Windows nodes where there is no sh nor bash command.

Unfortunately, node-shell pods cannot be autoremoved anymore with sleep command. It is because now single pod is created and then kubectl attach is run. It is because kubectl exec with nsenter command won't work: Bottlerocket OS is SELinux hardened then nsenter won't have privileges to run in kubectl 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:

image

Node shell for Ubuntu:

image

Node shell for Bottlerocket:

image

Node shell for Windows 2022:

image

dex4er avatar Oct 23 '23 09:10 dex4er

Any update on this? Would love to pop into Bottlerocket using Lens like I do for AL2.

moebaca avatar Feb 13 '24 14:02 moebaca

Would this be available soon? 🙏🏾

ajaykumarmandapati avatar Apr 05 '24 14:04 ajaykumarmandapati