-
Notifications
You must be signed in to change notification settings - Fork 40.4k
kubectl exec -it <pod> bash hangs after you type exit #13395
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
Comments
It's still can't be use when I run the following
It will hang the throw an error
|
What image is your pod running? Can you provide the output when you run
|
I am sorry ,I forgot to deploy a new k8 cluster of the branch master .I just use the kubectl builded from the master with the old version of k8 cluster .Thanks for your concern. |
Hi @ncdc I'm working with the following and I'm having exactly this and other related issues (#13394 #51835). kubectl version
kubeadm version
kubelet --version
docker --version
Before this problem appeared the cluster was working fine, and I didn't change anything when this happened. I just accessed my pod, as usual, and then I tried to exit from it but it just hangs, forcing me to close the terminal. I also tried deleting the pod and creating a new one but the problem persists and the "deleted" pod keeps on "Terminating" status. By the way, I'm working with two nodes one master and one slave, both with the same versions. |
If you run the following
it will hang instead of returning control to the user in the shell. This is due to various changes to how go-dockerclient handles attach and exec.
I am working on a fix and will have a PR soon.
The text was updated successfully, but these errors were encountered: