-
Notifications
You must be signed in to change notification settings - Fork 116
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
[Require more tests] Bump Docker and Kubelet to eliminate CVE-2019-5736 #249
Conversation
@xetys this is initial bump, i got cluster without issues, but seen some deprecation warnings (want to fix them before merge), and some errors i not sure if they harmful (didn't check them too deep) |
Do we need support for
|
ok, i spent a bit time about Kubernetes CRI api to containerd. Regardless my thoughts from above, i'll add config option to use docker 18.06 with |
I actually really like it now works with docker again. If it's supported, it looks like the most straight forward way. Or am I wrong? I tested the current version. It seems to work like a charm! |
in most it not have big difference, nowadays docker runs containers same over containerd (under linux at least) and containerd is just the part of doocker outsourced to community. difference only if we use, docker chain looks like: Kubertenes -> (cri api) -> docker-shim -> containerd. If we do not use docker, just remove docker from this chain. in real fact, it "should speed up" something, but i'm not sure if few milliseconds do a deal. in short you can read about this here: https://kubernetes.io/blog/2018/05/24/kubernetes-containerd-integration-goes-ga/ so as for me, i'm do not see much difference, maybe somewhere later. P.S. i'll do later this weekend another PR with containerd directly and then we'll see where to go. |
Well, I like the simplicity of this setup here, as it is less fragile then what we do currently. Just to recap, I want to use Ubuntu 18 as it has a current Linux kernel, while the Ubuntu 16 images from hetzner come with kernel 4.4. this works badly with stuff like ceph for example. I tried installing any supported container engine on 18 a half year ago, which was close to impossible and highly complex. The current approach only works with docker 18.06.0, but not with 18.06.1 and this is something I want to change ASAP. So feel free to try your approach with containerd but I would love to see this PR getting finished to provide a simple and stable solution on this issue |
@xetys i think lets stick with Docker, also had similar discussion with my colleagues and we decide also stick with docker, at least until containerd as standalone became more mature and will have same easy-to-debug-and-well-documented. |
and also i'm sharing your feeling, because want to start use kubernetes with hetzner as soon as possible :) |
well, then I let @mavimo take a look at this, if he doesn't complain, we will merge this. At least the e2e will point out if there is something wrong |
@mavimo , can you take a look please ? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After few test LGTM!
TODO:
P.S. as bonus, now ctop also able to get stats :)
Successfully deployed: