Monday, 2022-03-07

kata-irc-bot<nike21oct> Hello All, Just wanted to know that when we create a kata conatiners so how hypervisor knows or from where it having the information of creating the VM ?04:54
kata-irc-bot<fidencio> Several things are hardcoded into our code, several things come from the kata-containers configuration file.07:07
kata-irc-bot<fidencio> What exactly are you looking for?07:07
kata-irc-bot<fidencio> To create an image, you need to create a rootfs first, and you can do that for those distros there.07:08
kata-irc-bot<fidencio> So, no, OpenSUSE is not support at the moment as we didn't find anytone to maintain it.07:09
kata-irc-bot<nike21oct> actually when we create kata container it create the VM and inside VM a container  so just waned to know where I can see the configuration file of VM like: which os version it creates etc07:55
kata-irc-bot<fidencio> Do you have a configuration file of Kata Containers handy?08:09
kata-irc-bot<fidencio> The image is the guest image being used to boot up your guest OS.08:11
kata-irc-bot<fidencio> If you're using kata-deploy, that's based on clear-linux.08:12
kata-irc-bot<nike21oct> I am using kata-deploy for installing kata runtime on my already existing kubernetes cluster10:01
kata-irc-bot<nike21oct> where I can see the configuration file in kata-deploy ?10:01
kata-irc-bot<fidencio> It's deployed in /opt/kata/share/defaults/kata-containers, IIRC10:01
kata-irc-bot<itskumaresan> Thank you @fidencio  When I look into the /opt/kata/share/defaults/kata-containers/configuration.toml,  kernel = "/opt/kata/share/kata-containers/vmlinux.container" image = "/opt/kata/share/kata-containers/kata-containers-debain.img"  I understand the "image" attribute. Would like to understand the "kernel" attribute.  Can you help here?10:59
kata-irc-bot<itskumaresan> Another question around dracut build method: "The `dracut` build method uses the distro-agnostic tool `dracut` to obtain the same goal." Can you help me to understand better on this statement?  Does it mean for suse builds, we can use this build method?  Please confirm.  Ref: https://github.com/kata-containers/kata-containers/tree/main/tools/osbuilder#building11:03
kata-irc-bot<fidencio> The kernel attribute is the kernel used by the guest.11:19
kata-irc-bot<fidencio> About dracut, please, take a look at dracut's official documentation: https://man7.org/linux/man-pages/man8/dracut.8.html11:19
kata-irc-bot<nike21oct> In kata-deploy method if we create kata containers how I can see that which version of os and which kernel version of VM will create?14:31
kata-irc-bot<fidencio> Have you checked the configuration file I mentioned, under `/opt/kata/share/defaults/kata-containers/configuration.toml`?  There you'll get the info about the kernel and image being used.  In case of kata-deploy, the kernel depends on the version being used, but the image, IIRC, should be a clear-linux one.14:34
kata-irc-bot<fidencio> The same binaries used by kata-deploy are the ones you can find in out GitHub page for each one of our releases.  So, for 2.3.3, those are the binaries being used: https://github.com/kata-containers/kata-containers/releases/tag/2.3.314:36
kata-irc-bot<fidencio> (Check the kata-static-2.3.3-x86_64.tar.xz file)14:37
kata-irc-bot<fidencio> https://github.com/kata-containers/kata-containers/releases/tag/2.3.3 also provides all the information about the default images, and kernel being used.14:38

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!