-
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 requires /proc/config.gz but unavailable in Debian11 kernel 5.10 #3500
Comments
check-config is just a standalone utility that can be run to verify system readiness; it doesn't need to succeed in order for k3s to run properly. Are you seeing any issues other than the check-config failure? |
@brandond Yes. Actually the k3s in the Flyte-sandbox container doesn't work. Here is the discussion about the issue with Flyte team: flyteorg/flyte#1141 |
I'm not familiar with flyte, but that thread appears to be about using minikube, not k3s. Do you have any information on how k3s fails in this configuration? |
Can you see the |
I'm not really sure what the full stack is here - it sounds like you're running flyte in docker, and flyte in turn is running k3s? Either way, it looks like the terminal failure is due to missing cgroups:
You might try adding |
Yes, same error. I would work towards figuring out why the required cgroups are unavailable. It may have something to do with how flyte is setting up the environment, as k3s definitely works within Docker - either via k3d, or just running the rancher/docker image. |
@brandond in flyte, we are not doing anything special just running k3s, and then we will deploy the manifest. |
We have our own Docker image at rancher/k3s, have you considered using Are you creating the K3s containers as privileged? Does this work on other distributions? I am assuming so, since this issue appears to be Debian 11 specific? |
At least on Ubuntu 18.04 it works. Don't know on 20.04. |
I am guessing that this has something to do with unified (v2) vs v1 cgroups, but I'm not sure how to propagate that all the way though Docker on Debian. |
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 180 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
Environmental Info:
K3s Version:
v1.20.2+k3s1
Node(s) CPU architecture, OS, and Version:
x86_64, Debian11 Kernel 5.10.0.7
Cluster Configuration:
Substructure of Flyte
Describe the bug:
k3s doesn't run properly
This looks originated from the unavailability of
/proc/config.gz
, as described hereThe text was updated successfully, but these errors were encountered: