mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Don't check for cpuset cgroup, not always required?
This commit is contained in:
parent
1137b9fb5f
commit
9a6c459df2
@ -165,7 +165,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