Skip to content
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

Support Debian Bullseye #151

Closed
ieugen opened this issue Sep 9, 2021 · 9 comments
Closed

Support Debian Bullseye #151

ieugen opened this issue Sep 9, 2021 · 9 comments
Assignees

Comments

@ieugen
Copy link

ieugen commented Sep 9, 2021

Summary

Debian 11 was released recently and it would be nice to have it on the list of supported operating systems.

This should track support for it.

Will probably try to setup k3s on it in the next few weeks and report back.

@Nothing4You
Copy link

note that flannel vxlan is broken on bullseye: k3s-io/k3s#3863

@covert8
Copy link

covert8 commented Sep 22, 2021

debian 11 also switched to nftables as the default, this means that you need to switch to legacy iptables
https://rancher.com/docs/k3s/latest/en/advanced/#enabling-legacy-iptables-on-raspbian-buster

@xanmanning xanmanning self-assigned this Sep 28, 2021
@xanmanning
Copy link
Member

Needs a whole host of checks I think, I did have a look at how to check for iptables but I needed to create a dict to select the right package names.

On my radar.

@ieugen
Copy link
Author

ieugen commented Nov 7, 2021

According to https://andrewmunro.me/posts/2021/08/creating-a-k3s-cluster-on-debian-11-bullseye-step-1-provision/

there is k3s check-config and k3s-io/k3s#900 (comment)

Solution would be to: set GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0" . Then, restart .

I am working to see if this works on a raspberry pi.

@ieugen
Copy link
Author

ieugen commented Nov 8, 2021

I failed to make it work on the Raspberry PI4 running debian 11.

k3s starts but can't connect to master node because it can't get ceertificates from localhost:6444 which is redirected to master node via iptables I believe.

However, iptables -L shows empty rules.

Will try again when I get some time for this.

@xanmanning
Copy link
Member

Does it work on Debian Buster with k3s version >= 1.22.2 ?

@xanmanning
Copy link
Member

Should be fixed in v2.12.0

@agross
Copy link

agross commented Dec 21, 2021

I could install on Raspbian Bullseye after installing the iptables package. The link provided in the error message is a bit misleading because it refers to Raspbian Buster.

@onedr0p
Copy link
Collaborator

onedr0p commented Jan 6, 2022

This looks to be fixed upstream with v1.22.3+k3s1, see this issue: k3s-io/k3s#4188

@onedr0p onedr0p closed this as completed Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants