mirror of https://github.com/k3s-io/k3s
Usernetes additional changes
parent
6573b80097
commit
18d5c9f001
|
@ -123,7 +123,11 @@ func (m *qosContainerManagerImpl) Start(getNodeAllocatable func() v1.ResourceLis
|
|||
} else {
|
||||
// to ensure we actually have the right state, we update the config on startup
|
||||
if err := cm.Update(containerConfig); err != nil {
|
||||
return fmt.Errorf("failed to update top level %v QOS cgroup : %v", qosClass, err)
|
||||
if rsystem.RunningInUserNS() {
|
||||
klog.Errorf("failed to update top level %v QOS cgroup : %v", qosClass, err)
|
||||
} else {
|
||||
return fmt.Errorf("failed to update top level %v QOS cgroup : %v", qosClass, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue