| 22 Jun 2021 |
hexa | https://github.com/NixOS/nixpkgs/pull/119856 | 07:33:43 |
| 23 Jun 2021 |
Mic92 (Old) | In reply to @hexa:lossy.network I had booted a nixos oci Image before that So the OCI image did not work for you? I was hoping to use this instead of kexec. | 17:05:32 |
hexa | it worked, I just wanted to reformat the disk | 17:06:00 |
| 26 Jun 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:18:21 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 01:22:39 |
| NixOS Moderation Bot joined the room. | 01:22:40 |
rager | dangit | 22:05:48 |
rager | tryna run the nixpkgs kubernetes service from a nix container, and it's still going bad | 22:06:01 |
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 |