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
crictl exec and dockershim only work with synchronous execution #283
Comments
@vrothberg Just tested with kubelet v1.9.6 and crictl 1.0.0-alpha.0 (downloaded from their releases page), both |
By the way, I'm using docker v1.13.1 |
@vrothberg This is a known issue in dockershim. We are discussing about a solution at kubernetes/kubernetes#36666 (comment). We are going to address this in Kubernetes 1.11. |
@Random-Liu @vrothberg Are you referring running kubelet without crictl only talks to |
Thanks a lot, @feiskyer @Random-Liu, for the info. As it seems to be an issue in dockershim, feel free to close this issue. |
@Random-Liu We're also facing issues with interactive execution. For instance, Is there any chance, the fixes get backported to K8s 1.10? |
Fixed in kubernetes/kubernetes#64006, which should be included in v1.11. @Random-Liu Do you have any plan of porting this to v1.10? |
I don't think we can port it to 1.10. The fix is huge, and it is a new feature. |
Closing as this issue has been fixed in the meantime. |
crictl exec
only works with dockershim.sock as an endpoint when the--sync
flag is passed to execute the command synchronously. Otherwise, we receive the following error:execing command in container failed: error sending request: Post http://127.0.0.1:10250/cri/exec/bhY76ttV: malformed HTTP response "\x15\x03\x01\x00\x02\x02\x16"
Notice: we experience no issues with CRI-O.
The text was updated successfully, but these errors were encountered: