26 Jun 2021 |
rager | node_container_manager_linux.go:57] "Failed to create cgroup" err="mkdir /sys/fs/cgroup/cpuset/kubepods.slice: read-only file system" cgroupName=[kubepods]
| 22:06:05 |
27 Jun 2021 |
Arian | I don't think the Kubernetes service was property fixed when we moved to cgroups v2 | 07:04:56 |
Arian | Try enabling legacy hierarchy | 07:05:01 |
colemickens | I mean, kubelet itself is a container manager, it's not super common to run it itself as a container and I'd doubt strongly that its supported by the nixos kube module | 23:29:12 |
colemickens | might as well just run a vm tho, it's nearly just as easy | 23:29:37 |
28 Jun 2021 |
Mic92 (Old) | k3s works with kubnernetes fine. | 06:00:38 |
Mic92 (Old) | systemd cgroupv2 | 06:00:44 |
Mic92 (Old) | I think in k8s you could enable it | 06:01:03 |
29 Jun 2021 |
colemickens | Mic92: does astro exist on Matrix? As usual I'd love to know what they're thinking about, or if they're just tinkering, etc. | 07:20:12 |
Mic92 (Old) | colemickens 🏳️🌈: I think he has an account but also invested into xmpp a lot. | 07:47:44 |
Mic92 (Old) | Anyway I let him know | 07:47:55 |
Arian | https://github.com/arianvp/nixos-stuff/blob/master/modules/kubernetes.nix works with cgroups v2. Just one node for now. It's still a little bit hacky. But it sets all the needed flags in Kubelet to work with unified Cgroup Hierarchy | 07:57:47 |
Arian | I don't have time to turn it into a PR. But it works for my 1 node homelab | 07:58:02 |
Arian | container-runtime-endpoint=/run/crio/crio.sock
+ cgroupDriver= systemd does the job | 07:59:11 |
colemickens | unrelated, but very on-topic for the room: https://github.com/arianvp/server-optimised-nixos | 08:18:13 |
colemickens | !! neat! | 08:18:16 |
30 Jun 2021 |
| Astro joined the room. | 15:25:47 |
Astro | @colemickens hello. my use case is separating services on single linux servers. | 15:27:06 |
Mic92 (Old) | I think colemickens 🏳️🌈 wanted to achieve something similar in combination with nomad. | 15:33:13 |
2 Jul 2021 |
| IslandUsurper joined the room. | 13:05:45 |
5 Jul 2021 |
| spacesbot - keeps a log of public NixOS channels joined the room. | 19:21:21 |
| spacesbot - keeps a log of public NixOS channels | 19:49:30 |
6 Jul 2021 |
| spacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels. | 22:11:37 |
7 Jul 2021 |
Astro | does anyone like to try nix run "github:astro/microvm.nix#vm" | 19:18:52 |
Astro | it'll run a nixos vm containing example instances of the four hypervisors | 19:19:13 |
Astro | beware that the qemu is configured to 8GB RAM | 19:19:46 |
Mic92 (Old) | I have a usecase for that, for vmsh :) | 21:00:27 |
Mic92 (Old) | Do you keep the kernel configurable? | 21:01:01 |
Mic92 (Old) | Astro: how do you think about -nographics for the qemu vm? https://github.com/astro/microvm.nix/blob/3821238f101c84eb8741ca305f580769208e268b/flake.nix#L288 | 21:28:48 |
Mic92 (Old) | is -enable-kvm not the default? | 21:29:15 |