Saturday, 2019-03-16

kata-irc-bot<sebastien.boeuf> @matt kata does honor mem limits. In case you don't use limits, it will be tied to the size specified in our kata `configuration.toml` file where the default is `2048M` I believe00:03
kata-irc-bot<sebastien.boeuf> you're never stuck with a specific amount of memory for your pod if you run Kata with QEMU, since QEMU does support memory hotplug00:04
kata-irc-bot<matt> so if I want effectively unlimited, paradoxically I should use limits00:07
kata-irc-bot<sebastien.boeuf> @matt yes or you can specify a huge amount as the default in the kata config00:08
kata-irc-bot<matt> or I could set configuration.toml to 1billionty00:08
kata-irc-bot<matt> yep00:08
kata-irc-bot<matt> I have kind of an odd use case where under some circumstances we want to grow these pretty large, in other circumstances we want them limited. And our users have requested swap in the container00:09
kata-irc-bot<sebastien.boeuf> @david532 use the `virtio-fs` kernel branch from RedHat folks and pull it on your machine. Copy the `.config` from kata (use the config_4_19) over to the kernel source and run `make menuconfig` to enable the missing configs (should be `CONFIG_VIRTIO_FS` and `CONFIG_ZONE_DEVICE`), and then compile!00:09
kata-irc-bot<david532> @sebastien.boeuf to resolve my fuse issues?00:11
kata-irc-bot<sebastien.boeuf> @david532 you mentioned some kernel issues, I thought you were talking about the guest kernel. Are you actually talking about your host?00:11
kata-irc-bot<david532> Guest VM yeah00:12
kata-irc-bot<david532> So I believe.00:12
kata-irc-bot<sebastien.boeuf> @david532 What makes you think it is fuse related?00:13
kata-irc-bot<david532> Basic fuse tests fail for me even rebuilding 4.19.00:15
kata-irc-bot<sebastien.boeuf> @matt gotcha, then maybe the way to go would be to use limits all the time as you mentioned. Pick a small number as the default for the VM in the kata config (not less than 128M) and use limits for the use cases that requires big amount of mem00:15
kata-irc-bot<matt> makes perfect sense @sebastien.boeuf00:16
kata-irc-bot<matt> have you ever heard of anyone using swap in the kata vm?00:16
kata-irc-bot<sebastien.boeuf> @matt not that I recall, but I might have missed it.00:17
kata-irc-bot<sebastien.boeuf> @manohar.r.castelino ^00:17
kata-irc-bot<matt> I think you'd have to build the swapfile into the VM image - I wasn't able to turn swap on from an outside mounted file over 9pfs00:17
kata-irc-bot<sebastien.boeuf> @david532 how are you running those tests? Is it simple fuse testing only inside the guest? or do you actually talk about the virtio-fs context here?00:18
kata-irc-bot<david532> @sebastien.boeuf I was testing with a basic alpine container and sshfs (my use case is rclone) running with - - device dev fuse and the capability add sys admin.00:21
kata-irc-bot<sebastien.boeuf> @matt I guess you're right, and you would need to have a dedicated partition for it00:21
kata-irc-bot<david532> I can provide more details shortly, I'm on the road so responses are short00:21
kata-irc-bot<sebastien.boeuf> @david532 yes that'd be great so that we can continue this discussion on Monday!00:23
kata-irc-bot<david532> Should I create an issue on GitHub for this? Or start informally here?00:24
kata-irc-bot<david532> I know this going to sound incredibly daft but virtio-fs kernel on the guest should already have everything necessary for guest to container fuse compatibility?00:42
kata-irc-bot<raravena80> I believe so but it's still marked as experimental00:46
kata-irc-bot<raravena80> you can do either one or both, also you can discuss on the Tuesday Arch meeting.00:46
kata-irc-bot<david532> This is the only roadblock for me to begin migrating some "production" workloads over (re: personal services), so if it works it'll probably work across the board since I'm not doing anything fancy.00:51
kata-irc-bot<david532> I'll give it another shot and see how it goes!00:53
*** EricAdamsZNC2 has joined #kata-general01:31
*** EricAdamsZNC has quit IRC01:34
kata-irc-bot<raravena80> :+1:01:46
*** igordc has quit IRC06:29
*** stackedsax has quit IRC11:13
*** pvdp has quit IRC13:24
*** igordc has joined #kata-general15:32
*** igordc has quit IRC15:49
*** igordc has joined #kata-general22:01
*** pvdp has joined #kata-general23:16
*** igordc has quit IRC23:50

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