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

Drop broken SupportNoneCgroupDriver support #4065

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

brandond
Copy link
Contributor

Proposed Changes

Drop broken SupportNoneCgroupDriver support

Types of Changes

rootless

Verification

Run k3s rootless

Linked Issues

#3596

User-Facing Change

Rootless support now requires delegated cgroup v2 support.

Further Comments

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond requested a review from a team as a code owner September 22, 2021 00:17
@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2021

Codecov Report

Merging #4065 (669d76e) into master (28be0de) will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4065   +/-   ##
=======================================
  Coverage   11.71%   11.72%           
=======================================
  Files         133      133           
  Lines        9013     9009    -4     
=======================================
  Hits         1056     1056           
+ Misses       7731     7727    -4     
  Partials      226      226           
Flag Coverage Δ
inttests 0.68% <0.00%> (+<0.01%) ⬆️
unittests 11.36% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/daemons/agent/agent_linux.go 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 28be0de...669d76e. Read the comment docs.

argsMap["feature-gates=SupportNoneCgroupDriver"] = "true"
argsMap["cgroups-per-qos"] = "false"
argsMap["enforce-node-allocatable"] = ""
logrus.Fatal("delegated cgroup v2 controllers are required for rootless.")
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a link to https://rootlesscontaine.rs/getting-started/common/cgroup2/ in the error message?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't generally put URLs in our error messages. We can update the docs so that searching for the error points users to the correct location.

@brandond brandond merged commit 73e21e7 into k3s-io:master Sep 23, 2021
@brandond brandond deleted the drop_none_cgroup branch June 6, 2024 21:13
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

Successfully merging this pull request may close these issues.

None yet

5 participants