-
Notifications
You must be signed in to change notification settings - Fork 30
add cgroup v1 warning as it is in maintaince mode for kube #38
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
add cgroup v1 warning as it is in maintaince mode for kube #38
Conversation
8ff2876 to
9cecda3
Compare
validators/cgroup_validator_linux.go
Outdated
| requiredCgroupSpec = spec.CgroupsV2 | ||
| optionalCgroupSpec = spec.CgroupsV2Optional | ||
| } else { | ||
| warns = append(warns, errors.New("cgroup v1 support is in maintenance mode")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cgroup -> cgroups
should we say something like:
| warns = append(warns, errors.New("cgroup v1 support is in maintenance mode")) | |
| warns = append(warns, errors.New("cgroup v1 support is in maintenance mode. Please upgrade to cgroups v2")) |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cgroup v1 support is in maintenance mode, please migrate to Cgroup v2.
According to https://man7.org/linux/man-pages/man7/cgroups.7.html, we should use cgroups.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah cgroups is the right name (plural noun with s)
392ecc5 to
e6b1962
Compare
e6b1962 to
f66cb6a
Compare
neolit123
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123, pacoxu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The v1.31 KEP kubernetes/enhancements#4569