kata-irc-bot | <eric.ernst> played with @manohar.r.castelino and @krsna1729 this afternoon. Leveraging a lot of the work that's been done @ https://github.com/clearlinux/cloud-native-setup, was able to put a quick demo together: https://asciinema.org/a/219790 | 07:22 |
---|---|---|
kata-irc-bot | <eric.ernst> @fupan I really want to do similar next utilizing v2-shim instead of CLI. I think to make this work we'll need a --config option. | 07:23 |
kata-irc-bot | <eric.ernst> If you look, we support multiple hypervisors using a single binary for CLI like is shown @ https://github.com/clearlinux/cloud-native-setup/blob/master/clr-k8s-examples/setup_kata_firecracker.sh#L63-L69 | 07:24 |
kata-irc-bot | <eric.ernst> I think we can follow same pattern with shim binary as well | 07:24 |
kata-irc-bot | <eric.ernst> what we register as a handler will be the .sh which calls the actual shim with the appropriate --config | 07:25 |
kata-irc-bot | <eric.ernst> @xu ^ let me know what you think. | 07:25 |
*** LinuxMe has joined #kata-dev | 08:09 | |
kata-irc-bot | <fupan> @eric.ernst Got it, I’ll add it. | 08:13 |
*** LinuxMe has quit IRC | 08:14 | |
kata-irc-bot | <fupan> @eric.ernst Since the shimv2's cmd option are parsed in the shim pkg located in containerd, if we want add an option “--config”, we have to communicate with containerd guys to add it in the shim entrance. A good alternative way is using a environment such as CONF_FILE, which can be parsed by ourself. | 08:43 |
*** LinuxMe has joined #kata-dev | 10:04 | |
*** LinuxMe has quit IRC | 10:09 | |
*** Jeffrey4l has quit IRC | 10:22 | |
*** Jeffrey4l has joined #kata-dev | 10:33 | |
*** LinuxMe has joined #kata-dev | 10:42 | |
*** LinuxMe has quit IRC | 10:47 | |
*** libregeekingkid has quit IRC | 10:56 | |
*** LinuxMe has joined #kata-dev | 12:43 | |
*** LinuxMe has quit IRC | 12:48 | |
*** LinuxMe has joined #kata-dev | 14:44 | |
*** LinuxMe has quit IRC | 14:48 | |
kata-irc-bot | <eric.ernst> @fupan; we could add a simple wrapper at least in short term. See https://github.com/clearlinux/cloud-native-setup/blob/master/clr-k8s-examples/setup_kata_firecracker.sh#L63-L69 | 14:51 |
kata-irc-bot | <eric.ernst> So we would handle it; they wouldn’t need to know. | 14:52 |
kata-irc-bot | <fupan> yes, after applying this PR https://github.com/kata-containers/runtime/pull/1092, we can use a short wrapper something like: cat <<EOT | sudo tee /usr/bin/kata-fc #!/bin/bash /usr/bin/kata-runtime --kata-config /etc/kata-containers/configuration_firecracker.toml “\$@” EOT | 15:06 |
*** LinuxMe has joined #kata-dev | 15:15 | |
*** LinuxMe has quit IRC | 15:20 | |
*** stackedsax has joined #kata-dev | 16:48 | |
kata-irc-bot | <mvedovati> @eric.ernst I am willing to help and I'll add my name in the list. | 17:07 |
kata-irc-bot | <mvedovati> I'll be able to help on this from the end of Jan, as Santa this year brought some plaster from my right wrist :face_with_head_bandage:. | 17:11 |
*** dvergurinn has joined #kata-dev | 17:52 | |
dvergurinn | hey guys, i'm having trouble finding docs on how to do this..... | 17:57 |
dvergurinn | i have two servers. 1) has a 12T RAID and i am setting up a web scraper on it. 2) is IOMMU capable for GPUs and i would like to set up a kata container cluster on it, leveraged by kubernetes. i have ubuntu server on both and i am wondering how, or should, i would go about setting this up. generally | 18:00 |
dvergurinn | im basically asking for a general overview and possibly suggestions on a setup | 18:01 |
*** LinuxMe has joined #kata-dev | 20:46 | |
*** LinuxMe has quit IRC | 20:50 | |
*** dvergurinn has left #kata-dev | 22:34 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!