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

fix/workaround: add workaround for cgroupv2 until fixed in k3s #579

Merged
merged 4 commits into from
Apr 29, 2021

Conversation

iwilltry42
Copy link
Member

@iwilltry42 iwilltry42 commented Apr 28, 2021

Cgroupv2 fix as per k3s-io/k3s#3237 & k3s-io/k3s#3242

Activate by setting env K3D_FIX_CGROUPV2 to 1 or true.

This will override the entrypoint of the k3s containers with the script that fixes cgroupv2 support as per the linked PRs.

@iwilltry42 iwilltry42 self-assigned this Apr 28, 2021
@iwilltry42 iwilltry42 added enhancement New feature or request k3s This is likely an issue with k3s not k3d itself labels Apr 28, 2021
@iwilltry42 iwilltry42 added this to the v4.4.3 milestone Apr 28, 2021
@no-reply
Copy link

just chiming in to say that this added cgroupv2 support for me Linux 5.11.16-arch1-1 x86_64 with Docker version 20.10.6, build 370c28948e and Cgroup Driver: systemd Cgroup Version: 2.

@iwilltry42 iwilltry42 merged commit 0b7de65 into main Apr 29, 2021
@iwilltry42 iwilltry42 deleted the fix/workaround/cgroupv2-entrypoint branch April 29, 2021 07:17
rancherio-gh-m pushed a commit that referenced this pull request Apr 29, 2021
Author: Thorsten Klein <iwilltry42@gmail.com>
Date:   Thu Apr 29 09:17:49 2021 +0200

    fix/workaround: add workaround for cgroupv2 until fixed in k3s (#579)

    special thanks to @AkihiroSuda for the support on this!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request k3s This is likely an issue with k3s not k3d itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Cluster fails to start on cgroup v2
3 participants