Thursday, 2020-05-14

*** sameo has joined #kata-general05:24
*** CeeMac has joined #kata-general06:16
*** sgarzare has joined #kata-general07:13
*** gwhaley has joined #kata-general08:09
*** devimc has joined #kata-general12:27
*** devimc has quit IRC13:46
*** devimc has joined #kata-general13:47
kata-irc-bot<james.allen> Hi all, I just started experimenting with kata containers yesterday. Does it use firecracker VMs by default or does that require a different configuration?15:32
kata-irc-bot<graham.whaley> Hi @james.allen Normally (I believe this is still true), the default is qemu. But, firecracker support is enabled in parallel (I think that's true for all installation methods). So, you get to choose when you decide which runtime your pod/container is going to use. For docker, that is the `--runtime` on the commandline. for kubernetes, it is the RuntimeClass in the YAML. you should find 'kata' defaults to kata-qemu, or you can15:35
kata-irc-botchoose kata-qemu or kata-fc (basically, fully qualify the name).15:35
kata-irc-bot<james.allen> Thanks!15:40
devimc@james.allen are you using k8s ?15:41
kata-irc-bot<james.allen> yes, but not with kata containers. At least currently, I'm just testing around untrusted code isolation.15:42
kata-irc-bot<james.allen> is that a valid use case or am I going down a totally wrong path?15:42
devimcokay, jfyi you can use annotations to change the kata's configuration file hence the hypervisor15:43
devimcyes, I think it's a valid use case15:44
kata-irc-bot<eric.ernst> by default, multiple VMMs are supported out of the box.15:54
kata-irc-bot<eric.ernst> The main gotcha you’ll run into, @james.allen , is making sure you’re using a block-based snapshotter/storage driver.  Default out of the box for docker cli, for example, is overlay2.15:55
kata-irc-bot<eric.ernst> assuming that is setup, you can just say docker run --runtime=kata-fc15:55
kata-irc-bot<eric.ernst> or you can use Cloud Hypervisor, which is similar* to Firecracker, but has ability to work w/ overlay215:55
kata-irc-bot<eric.ernst> and, fwiw, dope profile picture :slightly_smiling_face:15:58
* gwhaley looks at profile picture. /me can name the film. /me can name the computer I think he was using - sigh.... ;-)15:59
kata-irc-bot<eric.ernst> “It’s a UNIX system!”16:00
*** sgarzare has quit IRC16:31
*** gwhaley has quit IRC17:03
*** sameo has quit IRC17:26
*** hashar has joined #kata-general18:11
*** hashar has quit IRC19:22
*** hashar has joined #kata-general19:23
*** hashar has quit IRC20:49
*** devimc has quit IRC21:32

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