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

kube-ssh Error: No such container #41

Open
avivais opened this issue Sep 14, 2021 · 7 comments
Open

kube-ssh Error: No such container #41

avivais opened this issue Sep 14, 2021 · 7 comments

Comments

@avivais
Copy link

avivais commented Sep 14, 2021

After kubernetes migrated to containerd and updating the plugin with the workaround, now I get the following error:

$ kubectl ssh -u root -n cms videocms-backend-7f75745599-qbrnk

Connecting...
Pod: videocms-backend-7f75745599-qbrnk
Namespace: cms
User: root
Container: NONE
Command: /bin/sh

Error: No such container: 212182d630c5d728aa2f06b809f41b15a1c599823e4d1195e64a9d15b2967e9a
pod cms/ssh-pod-13694 terminated (Error)

Can you shed some light on this?

@valterartur
Copy link

I'm facing to same issue, did you find a resolution for this?

@avivais
Copy link
Author

avivais commented Oct 17, 2021

I'm facing to same issue, did you find a resolution for this?

Nope... still not working, still can't access as root to my pods

What about you @valterartur?

@NickAJScott
Copy link

Seeing the same issue here, anyone found a workaround?

@jmorascalyr
Copy link

Noticed the same error. Do we have to SSH into the actual node to make this work?

@finalha
Copy link

finalha commented Mar 22, 2022

I have two nodes and get the same issue "Error: No such container:" on each node.

@rogaha
Copy link

rogaha commented Jul 20, 2022

same problem here.

Repository owner deleted a comment from mmangione Aug 30, 2022
@frexin
Copy link

frexin commented Nov 13, 2023

same issue

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

7 participants