kata-irc-bot3 | <manchenchen> Hello ,I have one question regarding kata images 。The hosted machine has high 4.17 version linux kernel ,but I want to run a docker container with centos7.6 with kernel 3.10 by kata container , Can i do it by build my own kernel ? | 02:29 |
---|---|---|
*** auk has joined #kata-general | 02:33 | |
*** auk has quit IRC | 06:27 | |
*** lpetrut has joined #kata-general | 07:16 | |
*** sgarzare has joined #kata-general | 08:06 | |
*** sameo has joined #kata-general | 09:05 | |
*** gwhaley has joined #kata-general | 09:07 | |
kata-irc-bot3 | <james.o.hunt> @manchenchen - tal at https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#install-guest-kernel-images / https://github.com/kata-containers/packaging/tree/master/kernel#build-kata-containers-kernel | 09:20 |
kata-irc-bot3 | <manchenchen> @james.o.hunt thank for your reply .I saw these pages .I just want to confirm if i build a kernel 3.10 ,can kata still work normally | 09:22 |
kata-irc-bot3 | <graham.whaley> @manchenchen - my first question would probably be, are you sure you need the centos specific kernel 3.10 ? afaict, Centos 7.6 will likely work with the kata default kernel (we have a centos 7.4 in our CI system for instance that will use the default kernel). Of course, if you do require a specific kernel, as @james.o.hunt points out, you can use the kata tooling to help build it .... but | 09:22 |
kata-irc-bot3 | <graham.whaley> the 3.10 kernel is quite old, and I'm not sure if it has all the KVM patches required for kata to run... | 09:22 |
kata-irc-bot3 | <manchenchen> @graham.whaley if I use the 3.10 kernel ,it maybe the kata container can not run normally ,right ? | 09:24 |
kata-irc-bot3 | <graham.whaley> correct. but, we can only really know by trying it... | 09:25 |
kata-irc-bot3 | <graham.whaley> do you have a strict requirement for the v3.10 kernel? There may be reasons I can think of, but it would be a little unusual | 09:26 |
kata-irc-bot3 | <manchenchen> @graham.whaley Yes, our developers have application depending on specific kernel and operation system .If provide the high version kernel ,they will not accept.Could you describe what "unusual" maybe | 09:35 |
kata-irc-bot3 | <james.o.hunt> @manchenchen - It still sounds unusual - a newer kernel normally provides the same features (atleast) as an older kernel, so why use an old one? | 09:35 |
kata-irc-bot3 | <graham.whaley> @manchenchen - as @james.o.hunt notes - 'unusual', in that normally applications and distros (operating systems) do not usually have an *upper* kernel version limit (but do have a *lower* kernel version limit), as the linux kernel in general guarantees 'bacwards compatability'. The only case I know where we have to tweak kata is because a very old system call got deprecated that old glibc tries to use - see the comments in | 09:39 |
kata-irc-bot3 | https://github.com/kata-containers/runtime/blob/master/cli/config/configuration-qemu.toml.in#L20-L30 for more information.... | 09:40 |
kata-irc-bot3 | <graham.whaley> In summary then: | 09:40 |
kata-irc-bot3 | <graham.whaley> 1. I strongly suspect Centos 7.4 will work with the default kata VM kernels | 09:40 |
kata-irc-bot3 | <graham.whaley> 2. If you must use kernel v3.10, then use the kata tooling to build/test a kernel - and we would be interested in any bug reports you find (but, cannot guarantee to fix them, as that kernel is just very old) | 09:41 |
kata-irc-bot3 | <manchenchen> @graham.whaley @james.o.hunt Thanks both .Let me discuss with my colleague。 | 09:49 |
*** sameo has quit IRC | 11:26 | |
*** openstack has joined #kata-general | 11:55 | |
*** ChanServ sets mode: +o openstack | 11:55 | |
*** lpetrut has joined #kata-general | 12:53 | |
*** sameo has joined #kata-general | 14:36 | |
*** lpetrut has quit IRC | 16:51 | |
*** sgarzare has quit IRC | 17:04 | |
*** igordc has joined #kata-general | 17:18 | |
*** gwhaley has quit IRC | 18:13 | |
*** igordc has quit IRC | 18:39 | |
*** igordc has joined #kata-general | 19:55 | |
*** sameo has quit IRC | 20:42 | |
*** igordc has quit IRC | 20:47 | |
*** igordc has joined #kata-general | 20:53 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!