*** LinuxMe has joined #kata-general | 00:44 | |
*** LinuxMe has quit IRC | 00:48 | |
*** dlw has joined #kata-general | 01:41 | |
*** LinuxMe_ has joined #kata-general | 02:09 | |
*** openstack has joined #kata-general | 02:51 | |
*** ChanServ sets mode: +o openstack | 02:51 | |
*** LinuxMe_ has quit IRC | 03:25 | |
*** lpetrut has joined #kata-general | 03:53 | |
*** lpetrut has quit IRC | 04:03 | |
*** LinuxMe has joined #kata-general | 04:37 | |
*** LinuxMe has quit IRC | 04:42 | |
*** sjas_ has joined #kata-general | 04:58 | |
*** sjas has quit IRC | 05:01 | |
*** LinuxMe has joined #kata-general | 06:39 | |
*** LinuxMe has quit IRC | 06:43 | |
*** jodh has joined #kata-general | 07:04 | |
*** jodh has joined #kata-general | 07:04 | |
*** LinuxMe has joined #kata-general | 07:27 | |
*** LinuxMe has quit IRC | 07:31 | |
*** dlw1 has joined #kata-general | 07:34 | |
*** dlw has quit IRC | 07:36 | |
*** dlw1 is now known as dlw | 07:36 | |
*** dlw has quit IRC | 07:53 | |
*** dlw has joined #kata-general | 07:54 | |
*** gwhaley has joined #kata-general | 07:54 | |
*** LinuxMe has joined #kata-general | 08:03 | |
*** LinuxMe has quit IRC | 08:08 | |
*** libregeekingkid has quit IRC | 10:33 | |
*** dlw has quit IRC | 10:45 | |
*** gwhaley has quit IRC | 11:05 | |
*** dlw has joined #kata-general | 11:23 | |
*** libregeekingkid has joined #kata-general | 11:24 | |
*** dlw has quit IRC | 11:32 | |
*** sjas_ is now known as sjas | 11:33 | |
*** LinuxMe has joined #kata-general | 12:05 | |
*** gwhaley has joined #kata-general | 12:07 | |
*** LinuxMe has quit IRC | 12:09 | |
*** dlw has joined #kata-general | 12:17 | |
*** dlw has quit IRC | 12:22 | |
*** dlw has joined #kata-general | 12:29 | |
*** LinuxMe has joined #kata-general | 13:26 | |
*** dlw has quit IRC | 13:27 | |
*** dlw has joined #kata-general | 13:27 | |
*** dlw has quit IRC | 13:58 | |
*** annabelleB has joined #kata-general | 14:10 | |
*** annabelleB has quit IRC | 14:20 | |
*** annabelleB has joined #kata-general | 14:38 | |
*** dlw has joined #kata-general | 14:44 | |
*** gema has quit IRC | 14:44 | |
*** annabelleB has quit IRC | 15:36 | |
*** annabelleB has joined #kata-general | 15:44 | |
*** dlw has quit IRC | 16:32 | |
*** jodh has quit IRC | 17:10 | |
*** annabelleB has quit IRC | 17:15 | |
*** LinuxMe has quit IRC | 17:15 | |
*** LinuxMe_ has joined #kata-general | 17:18 | |
*** gwhaley has quit IRC | 17:25 | |
*** annabelleB has joined #kata-general | 17:25 | |
*** fiddletwix has quit IRC | 17:26 | |
*** libregeekingkid has quit IRC | 18:04 | |
*** libregeekingkid has joined #kata-general | 18:06 | |
*** annabelleB has quit IRC | 19:27 | |
*** LinuxMe_ has quit IRC | 19:27 | |
*** LinuxMe has joined #kata-general | 19:31 | |
*** LinuxMe has quit IRC | 19:43 | |
*** annabelleB has joined #kata-general | 20:43 | |
*** LinuxMe has joined #kata-general | 20:57 | |
*** LinuxMe has quit IRC | 21:08 | |
kata-irc-bot | <kyusuf> Hi all, could you help me about how can I use kata for create a network interface in docker from vhost-user sock file path? | 21:21 |
---|---|---|
kata-irc-bot | <eric.ernst> Hey @kyusuf | 21:22 |
kata-irc-bot | <eric.ernst> So, today we do some silly magic, but are working how to set this up in a sustainable/scalable way | 21:22 |
kata-irc-bot | <eric.ernst> What's on the other side of the socket? | 21:23 |
kata-irc-bot | <kyusuf> Or, how can I pass required qemu parameters to kata | 21:23 |
kata-irc-bot | <eric.ernst> this dpdk? OVS? VPP? | 21:23 |
kata-irc-bot | <eric.ernst> other? | 21:23 |
kata-irc-bot | <kyusuf> Vpp virtualinterface socket file | 21:23 |
kata-irc-bot | <eric.ernst> cool. | 21:24 |
kata-irc-bot | <eric.ernst> So, if you 're on docker, we did create a CNM plugin for vpp | 21:24 |
kata-irc-bot | <eric.ernst> I have a stale documentation PR you can check out : https://github.com/egernst/documentation/blob/6b63590c879c92b9c45524dbe4202fd57d72a5f1/use-cases/using-vpp-and-kata.md | 21:24 |
kata-irc-bot | <eric.ernst> That assumes you're using a plugin though: see https://github.com/clearcontainers/vpp | 21:25 |
kata-irc-bot | <eric.ernst> @archana.m.shinde ^ heads up | 21:25 |
kata-irc-bot | <eric.ernst> s/Clear Containers / Kata Containers in that vpp cnm plugin repo :slightly_smiling_face: | 21:25 |
kata-irc-bot | <eric.ernst> basically, CNM never tells the runtime much, it just puts it in the namespace for you. | 21:26 |
kata-irc-bot | <eric.ernst> So, what we do in this scenario is look for a 'dummy interface' | 21:26 |
kata-irc-bot | <eric.ernst> if we find a dummy interface with a particular ip address, we search for a vhu socket in a particular path. | 21:26 |
kata-irc-bot | <eric.ernst> and then pass it into qemu. | 21:26 |
kata-irc-bot | <kyusuf> @eric.ernst I will try it :+1: thanks | 21:26 |
kata-irc-bot | <eric.ernst> n/m. have fun! | 21:27 |
kata-irc-bot | <eric.ernst> Location of the logic I just decsribed in the runtime: https://github.com/kata-containers/runtime/blob/4f1519ec646c594821d41a83d793b4e8c41c7d61/virtcontainers/network.go#L1254 | 21:28 |
kata-irc-bot | <kyusuf> @eric.ernst all the day, I was looking at your codes and tried to understand ;) now I started to understand | 21:32 |
*** dlw has joined #kata-general | 21:36 | |
kata-irc-bot | <eric.ernst> its.... not very clear what we're doing there. | 21:36 |
kata-irc-bot | <eric.ernst> its just to get it to work with CNM. | 21:37 |
kata-irc-bot | <eric.ernst> Getting a more native solution is on the to do list. | 21:37 |
kata-irc-bot | <kyusuf> I am just wondering that is there any way about passing any required parameter to qemu while using kata-runtime? I mean while using docker run | 21:42 |
kata-irc-bot | <archana.m.shinde> @kyusuf What kind of parameter are you looking at passing | 21:51 |
kata-irc-bot | <archana.m.shinde> Right now we have mechanism to just append to the kernel command line | 21:51 |
*** dlw has quit IRC | 21:53 | |
kata-irc-bot | <kyusuf> Such as adding new devices (maybe for SSL accelerators...) , yes in configuration.toml we can decide kernel parameters, cpu, ram | 22:16 |
*** leadfoot has quit IRC | 22:27 | |
*** annabelleB has quit IRC | 22:55 | |
kata-irc-bot | <archana.m.shinde> @kyusuf No we dont support adding parameters to the qemu command line, and we dont intend to | 22:58 |
kata-irc-bot | <archana.m.shinde> You can pass devices such as accelerators with device passthrough | 22:59 |
kata-irc-bot | <archana.m.shinde> You can take a look at this : https://github.com/kata-containers/runtime/tree/master/virtcontainers#how-to-pass-a-device-using-vfio-passthrough | 23:00 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!