K3s: Difference between revisions
imported>Azazel75  add flannel config  | 
				imported>Fundur  Raspberry Pi not working due to memory cgroup fixed  | 
				||
| Line 52: | Line 52: | ||
   ];  |    ];  | ||
</syntaxHighlight>  | </syntaxHighlight>  | ||
== Troubleshooting ==  | |||
=== Raspbbery Pi not working ===  | |||
If the k3s.service/k3s server does not start and gives you th error <code>FATA[0000] failed to find memory cgroup (v2)</code> Here's the github issue: https://github.com/k3s-io/k3s/issues/2067 .  | |||
To fix the problem you can add these things to your configuration.nix.  | |||
<source lang="nix">  boot.kernelParams = [  | |||
    "cgroup_enable=cpuset" "cgroup_memory=1" "cgroup_enable=memory"  | |||
  ];  | |||
</source>  | |||
[[Category:Applications]]  | [[Category:Applications]]  | ||
[[Category:Server]]  | [[Category:Server]]  | ||
[[Category:orchestration]]  | [[Category:orchestration]]  | ||