*** igordc has quit IRC | 01:15 | |
*** sameo has joined #kata-dev | 05:43 | |
*** aleofuu has joined #kata-dev | 06:20 | |
aleofuu | Hi All, quick question about installing the kata kernel. I typed the command ./build-kernel.sh install without sudo as described in : https://github.com/kata-containers/packaging/tree/master/kernel#build-kata-containers-kernel .I'm getting the following error :+ install --mode 0644 -D arch/x86_64/boot/bzImage /usr/share/kata-containers/vmlinuz-4.19 | 06:26 |
---|---|---|
aleofuu | .52-47install: cannot create regular file '/usr/share/kata-containers/vmlinuz-4.19.52-47': Permission denied | 06:26 |
aleofuu | Ok, I sorted it out. I changed the permissions of the 'kata-containers' folder under 'usr/share/kata-containers' by setting up : 777 (I know is not secure), but doing so was possibile to write it in. I don't know if it is a bug of the script. | 07:02 |
*** jodh has joined #kata-dev | 07:08 | |
*** sgarzare has joined #kata-dev | 07:41 | |
*** davidgiluk has joined #kata-dev | 08:02 | |
*** gwhaley has joined #kata-dev | 08:13 | |
*** lpetrut has joined #kata-dev | 08:18 | |
*** aleofuu has quit IRC | 10:43 | |
*** aleofuu has joined #kata-dev | 10:56 | |
*** brtknr has quit IRC | 11:19 | |
*** aleofuu has quit IRC | 11:47 | |
*** gwhaley has quit IRC | 12:30 | |
*** fuentess has joined #kata-dev | 12:48 | |
*** devimc has joined #kata-dev | 13:18 | |
*** gwhaley has joined #kata-dev | 13:31 | |
*** brtknr has joined #kata-dev | 14:10 | |
*** dklyle has quit IRC | 14:52 | |
*** dklyle has joined #kata-dev | 14:53 | |
kata-irc-bot | <alessandro.randazzo> Hi All, just to be sure, after setting up, building and installing the kernel. I need to build other stuff. From the doc I can see rootfs creation, image creation and initrd creation. I think that I should follow this order : first rootfs, second image and finally initrd. is that correct? Thanks | 15:27 |
kata-irc-bot | <graham.whaley> @alessandro.randazzo - I think you only need to create one rootfs - you can choose either 'image' or 'initrd'. You only need one of them to run - but, kata supports both, so you can build both if you want ;) | 15:28 |
*** eernst has joined #kata-dev | 15:29 | |
kata-irc-bot | <alessandro.randazzo> @graham.whaley, as you say 'image', Do you mean 'Guest OS' or 'rootfs' ? Sorry if it is a silly question, but I am new about it. | 15:31 |
*** devimc has quit IRC | 15:32 | |
*** devimc has joined #kata-dev | 15:33 | |
kata-irc-bot | <graham.whaley> Same thing @alessandro.randazzo - A kata VM consists of 2 parts - the kernel and the 'rootfs' image. We refer to the VMs as the 'guests', and then your server as the 'host'. So, 'guest OS' refers to the OS running inside the Kata VM (which..... it gets from a combination of the kata kernel + kata rootfs)... And then, the rootfs can be stored in two different formats - 'img' and 'initrd'... just to help confuse further ;) | 15:33 |
kata-irc-bot | <graham.whaley> let me see if we have a decent diagram... hold on... | 15:33 |
kata-irc-bot | <graham.whaley> hmm, we don't have one picture nicely showing the VM kernel and rootfs, as that is mostly 'standard QEMU/KVM VM stuff'. There are some diagrams over on https://github.com/kata-containers/documentation/blob/master/design/architecture.md that maybe will help with some idea of how Kata is structured | 15:36 |
kata-irc-bot | <alessandro.randazzo> I think you have been clear enough. guest VM = Kernel (already built/install) + rootfs (to be done) in one of two possible formats, is that correct? | 15:37 |
kata-irc-bot | <graham.whaley> yep, spot on | 15:38 |
*** sgarzare has quit IRC | 16:02 | |
*** lpetrut has quit IRC | 16:11 | |
kata-irc-bot | <alessandro.randazzo> Rootfs requirements say: The rootfs must provide at least the following components: Kata agent and an init system. In my case since I just want to create a rootfs from a supported Linux distribution, can I directly build the rootfs 'sudo ./rootfs.sh <distro>' without caring for rootfs requirements? Or do I need to first install kata agent? | 16:13 |
*** sameo has quit IRC | 16:20 | |
kata-irc-bot | <graham.whaley> the `rootfs.sh` script installs all the bits you need into the rootfs image it builds for you - so, choose your distro (that rootfs.sh supports), and go for it.. | 16:21 |
*** stackedsax has quit IRC | 16:24 | |
*** stackedsax has joined #kata-dev | 16:27 | |
*** igordc has joined #kata-dev | 16:33 | |
*** jodh has quit IRC | 17:00 | |
*** khyr0n has joined #kata-dev | 17:08 | |
*** khyr0n has quit IRC | 17:09 | |
*** sameo has joined #kata-dev | 17:10 | |
*** sameo has quit IRC | 18:08 | |
*** davidgiluk has quit IRC | 19:05 | |
kata-irc-bot | <jose.carlos.venegas.m> hey folks do we have documentation about container annotations. Sandbox container etc ? | 19:19 |
kata-irc-bot | <jose.carlos.venegas.m> @gmmaharaj @eric.ernst @graham.whaley @julio.montes ? | 19:19 |
kata-irc-bot | <graham.whaley> @jose.carlos.venegas.m - annotations, no, it is a pending missing item - there is an Issue and a mention in the 'user guide' wiki page discussing adding the annotations docs. Also, we never got to write the full 'annotations for every config setting' PRs yet.... | 19:20 |
kata-irc-bot | Action: graham.whaley goes to find a link then.. | 19:21 |
kata-irc-bot | <jose.carlos.venegas.m> @graham.whaley Ok, let me write a bit of documentation | 19:21 |
kata-irc-bot | <graham.whaley> https://github.com/kata-containers/documentation/issues/294 | 19:21 |
kata-irc-bot | <graham.whaley> best ref I know of right now I think.. | 19:21 |
kata-irc-bot | <graham.whaley> :clap: @jose.carlos.venegas.m - as we have been asked about annotations to do 'pod per kernel' maybe once a month ;) | 19:22 |
kata-irc-bot | <jose.carlos.venegas.m> I think the annotations we support are | 19:22 |
kata-irc-bot | <jose.carlos.venegas.m> sandbox, not sandbox, kernel and image, right ? | 19:23 |
kata-irc-bot | <graham.whaley> we do kernel and image I know - others I don't I presume it should not be *that* hard to find it in the code :slightly_smiling_face: | 19:23 |
kata-irc-bot | <graham.whaley> @manohar.r.castelino was v.interested in adding more... but got waylaid | 19:23 |
kata-irc-bot | <jose.carlos.venegas.m> oh | 19:26 |
kata-irc-bot | <jose.carlos.venegas.m> found a bit probably not updated annotation documentation | 19:26 |
kata-irc-bot | <jose.carlos.venegas.m> https://github.com/kata-containers/documentation/blob/master/design/architecture.md#oci-annotations | 19:26 |
kata-irc-bot | <graham.whaley> are, that might be the old 'trusted' annotations? which are now deprecated and superceeded by RuntimeClass for kata/k8s...? | 19:26 |
*** gwhaley has quit IRC | 19:34 | |
*** igordc has quit IRC | 20:50 | |
*** devimc has quit IRC | 21:31 | |
*** fuentess has quit IRC | 21:49 | |
*** eernst has quit IRC | 22:59 | |
*** eernst has joined #kata-dev | 23:08 | |
*** eernst has quit IRC | 23:12 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!