-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k3s not working on PopOs 21.10 (kernel 5.15.5) #4783
Comments
What version of K3s are you using? All current releases should support cgroup v2 ( |
Using You saying it should work without the |
Can you perhaps include the K3s logs so that we can see what error you're getting? "Not working" is somewhat hard to troubleshoot without any additional information on what the actual error is. |
On it. |
Was able to reproduce removing the Error log is massive ... here is the couple of first errors filtered from
Not sure you want / need the entire thing ? |
Nothing useful in that short chunk. Can you attach (not copy/paste) the complete log from |
Looks to me like it's running fine. The end of the log is just normal steady-state operation. Is this the log from a system with |
Maybe you are right this is more on the rancher side that things go south I get : Failed to communicate with API server during namespace check: Get "https://10.43.0.1:443/api/v1/namespaces/kube-system?timeout=45s": context canceled I'll try to start again from scratch, maybe k3s way ok on it's own from the beginning, just some of the rancher payload that was not happy. |
Are you perhaps missing the vxlan module on newer kernels? Not sure if this is just limited to raspberry pi or not, but other users have run into the change described at #4188 (comment) |
Re-installed everything from scratch, works as expected. Something fishy append after transition to 21.04 to 21.10, but it might be just me not understanding what was appending. |
Environmental Info:
K3s Version:
Node(s) CPU architecture, OS, and Version:
Linux x1-pop-os 5.15.5-76051505-generic #202111250933~1638201579~21.10~09f1aa7 SMP Mon Nov 29 16:23:13 U x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
Describe the bug:
Installing / updating
PopOS!_21.10
breaksk3s
.Steps To Reproduce:
Install
k3s
onPopOS!_21.10
.Expected behavior:
Actual behavior:
Additional context / logs:
Note: found it while running rancher on PopOS ref : rancher/rancher#29223 (comment)
Work around add
systemd.unified_cgroup_hierarchy=0
to kernel command :sudo kernelstub -a "systemd.unified_cgroup_hierarchy=0" sudo update-initramfs -c -k all sudo reboot
sudo nano /etc/default/grub # add this line : GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0" sudo update-grub sudo reboot
The text was updated successfully, but these errors were encountered: