mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 15:20:17 +00:00
Don't check for cpuset cgroup, not always required?
This commit is contained in:
parent
b6ed1e63ad
commit
709e0a31c2
@ -161,7 +161,7 @@ func validateSystemRequirements(mountUtil mount.Interface) (features, error) {
|
|||||||
return f, nil
|
return f, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
expectedCgroups := sets.New("cpu", "cpuacct", "cpuset", "memory")
|
expectedCgroups := sets.New("cpu", "cpuacct", "memory")
|
||||||
for _, mountPoint := range mountPoints {
|
for _, mountPoint := range mountPoints {
|
||||||
if mountPoint.Type == cgroupMountType {
|
if mountPoint.Type == cgroupMountType {
|
||||||
for _, opt := range mountPoint.Opts {
|
for _, opt := range mountPoint.Opts {
|
||||||
|
Loading…
Reference in New Issue
Block a user