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

node-shell pod timing out #53

Open
rwagner3 opened this issue Sep 7, 2023 · 2 comments
Open

node-shell pod timing out #53

rwagner3 opened this issue Sep 7, 2023 · 2 comments

Comments

@rwagner3
Copy link

rwagner3 commented Sep 7, 2023

I'm seeing the node-shell pod timing out and getting deleted. I do not see a reason why it should timeout, other than perhaps the node is busy. Nothing in kubectl events other than it getting killed after some time. Is it possible to increase the timeout before it gets deleted?

$ kubectl node-shell aks-servpool1-14120502-vmss000017
spawning "nsenter-j7g30x" on "aks-servpool1-14120502-vmss000017"
error: timed out waiting for the condition
pod "nsenter-j7g30x" deleted

$ ke | grep nsenter-j7g30x
19s Normal Pulling pod/nsenter-j7g30x Pulling image "docker.io/library/alpine"
19s Normal Pulled pod/nsenter-j7g30x Successfully pulled image "docker.io/library/alpine" in 264.806927ms (264.815427ms including waiting)
19s Normal Created pod/nsenter-j7g30x Created container nsenter
19s Normal Started pod/nsenter-j7g30x Started container nsenter
18s Normal Killing pod/nsenter-j7g30x Stopping container nsenter

@pycgo
Copy link
Contributor

pycgo commented Jan 5, 2024

I encountered this situation in the K8S 1.28 version and couldn't even connect to the lower version 1.27 1.26 without any problem. Can you check if the version is incompatible? I am using the latest master minute

@pycgo
Copy link
Contributor

pycgo commented Jan 5, 2024

I know the reason now, and after 1.28 use crio-1.28, it no longer supports cgoup1 to allocate CPUs, In order to be compatible, we should remove the CPU restrictions in the script, and then I successfully connected to the node on my end。

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

2 participants