kvaps/kubectl-node-shell

Error attaching, falling back to logs: Upgrade request required

sean-keane25 opened this issue · 1 comments

I'm getting the following error when attempting to node-shell to a node.

$ kubectl node-shell aks-test11711-31489578-vmss000000
spawning "nsenter-3qn7ml" on "aks-test11711-31489578-vmss000000"
If you don't see a command prompt, try pressing enter.
Error attaching, falling back to logs: Upgrade request required
groups: cannot find name for group ID 11
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

mesg: ttyname failed: Success



error: timed out waiting for the condition
pod "nsenter-3qn7ml" deleted
kvaps commented

Hi, sorry for late answer,
Do you still experiencing this error?

If so, please provide me debug output, eg:

sh -x kubectl_node-shell aks-test11711-31489578-vmss000000

BTW, did, you know that now you can use kubectl-debug as well?

 kubectl debug --image=alpine:3.12 node/aks-test11711-31489578-vmss000000 -ti -- chroot /host