-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Configure 'args' for shellPod #1104
Comments
@yogeek @derailed I can't seem to get featureGates:
nodeShell: true
shellPod:
image: ubuntu:focal
command:
- /usr/sbin/chroot
args:
- /host
- /bin/bash
namespace: default
limits:
cpu: 100m
memory: 100Mi However, once inside the running container I can use
What am I missing? Also, when I first shell into the node, or a pod actually, the k9s screen doesn't show the shell until after I press another key. I don't remember that happening before. 🤔 |
@derailed it works now; thanks! |
@gitfool Woot! Cool! Thank you for reporting back and sorry for the mess up earlier ;( |
Great ! Thanks @derailed 👍 |
Is your feature request related to a problem? Please describe.
shellPod is great but being able to configure
image
,namespace
andlimits
is frustrating ^^For example, when I launch a shell on a node, I do not have access to all commands on the node, only the ones in the container (because the filesystem of the node is mounted in a subpath, and not as chroot of the container).
Describe the solution you'd like
Being able to configure
args
for the shellPod would allow to use commands directly accessible from the node directly (e.g.docker ps
) :Describe alternatives you've considered
The node-admin krew plugin is great for this and having this feature directly in k9s would be awesome because it would avoid having to deal with SSH for admins to connect to the nodes.
The text was updated successfully, but these errors were encountered: