| 27 Jun 2021 |
Arian | Try enabling legacy hierarchy | 07:05:01 |
@colemickens:matrix.org | 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:matrix.org | 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:matrix.org | 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 |