From 22439f958f6474339aff63b4a8b8fcf95388bfa9 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Sun, 6 Aug 2023 00:03:44 +0100 Subject: [PATCH] Ensure cgroup is enabled for k3s nodes --- krops/glasgow/configuration.nix | 1 + krops/seattle/configuration.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/krops/glasgow/configuration.nix b/krops/glasgow/configuration.nix index 7a61a29..fa9ef4d 100644 --- a/krops/glasgow/configuration.nix +++ b/krops/glasgow/configuration.nix @@ -9,6 +9,7 @@ boot = { supportedFilesystems = [ "nfs" ]; kernelPackages = pkgs.linuxPackages_rpi4; + kernelParams = [ "cgroup_enable=memory" "cgroup_enable=cpuset" "cgroup_memory=1" ]; loader = { grub.enable = false; generic-extlinux-compatible.enable = true; diff --git a/krops/seattle/configuration.nix b/krops/seattle/configuration.nix index e383858..16f8224 100644 --- a/krops/seattle/configuration.nix +++ b/krops/seattle/configuration.nix @@ -9,6 +9,7 @@ boot = { supportedFilesystems = [ "nfs" ]; kernelPackages = pkgs.linuxPackages_rpi4; + kernelParams = [ "cgroup_enable=memory" "cgroup_enable=cpuset" "cgroup_memory=1" ]; loader = { grub.enable = false; generic-extlinux-compatible.enable = true;