Ensure kubelet pid is not moved to system container

This commit is contained in:
Jimmi Dyson
2016-01-06 23:36:48 +00:00
parent 6e6974a38f
commit 1c289943f5
62 changed files with 1765 additions and 774 deletions

View File

@@ -41,7 +41,8 @@ func NewOOMAdjuster() *OOMAdjuster {
func getPids(cgroupName string) ([]int, error) {
fsManager := fs.Manager{
Cgroups: &configs.Cgroup{
Name: cgroupName,
Parent: "/",
Name: cgroupName,
},
}
return fsManager.GetPids()