Saturday, 2019-01-05

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/21979007: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-L6907:24
kata-irc-bot<eric.ernst> I think we can follow same pattern with shim binary as well07:24
kata-irc-bot<eric.ernst> what we register as a handler will be the .sh which calls the actual shim with the appropriate --config07:25
kata-irc-bot<eric.ernst> @xu ^ let me know what you think.07:25
*** LinuxMe has joined #kata-dev08:09
kata-irc-bot<fupan> @eric.ernst Got it,  I’ll add it.08:13
*** LinuxMe has quit IRC08: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-dev10:04
*** LinuxMe has quit IRC10:09
*** Jeffrey4l has quit IRC10:22
*** Jeffrey4l has joined #kata-dev10:33
*** LinuxMe has joined #kata-dev10:42
*** LinuxMe has quit IRC10:47
*** libregeekingkid has quit IRC10:56
*** LinuxMe has joined #kata-dev12:43
*** LinuxMe has quit IRC12:48
*** LinuxMe has joined #kata-dev14:44
*** LinuxMe has quit IRC14: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-L6914: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 “\$@” EOT15:06
*** LinuxMe has joined #kata-dev15:15
*** LinuxMe has quit IRC15:20
*** stackedsax has joined #kata-dev16: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-dev17:52
dvergurinnhey guys, i'm having trouble finding docs on how to do this.....17:57
dvergurinni 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. generally18:00
dvergurinnim basically asking for a general overview and possibly suggestions on a setup18:01
*** LinuxMe has joined #kata-dev20:46
*** LinuxMe has quit IRC20:50
*** dvergurinn has left #kata-dev22:34

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!