From 938bffcb045399a571a1b048f762d95cb66b1e9a Mon Sep 17 00:00:00 2001 From: zhengchuan hu Date: Wed, 16 Aug 2017 22:52:56 +0800 Subject: [PATCH] Delete "hugetlb" from whitelistControllers --- pkg/kubelet/cm/cgroup_manager_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/cm/cgroup_manager_linux.go b/pkg/kubelet/cm/cgroup_manager_linux.go index 7657dcca15..c210dc2f60 100644 --- a/pkg/kubelet/cm/cgroup_manager_linux.go +++ b/pkg/kubelet/cm/cgroup_manager_linux.go @@ -233,7 +233,7 @@ func (m *cgroupManagerImpl) Exists(name CgroupName) bool { // scoped to the set control groups it understands. this is being discussed // in https://github.com/opencontainers/runc/issues/1440 // once resolved, we can remove this code. - whitelistControllers := sets.NewString("cpu", "cpuacct", "cpuset", "memory", "hugetlb", "systemd") + whitelistControllers := sets.NewString("cpu", "cpuacct", "cpuset", "memory", "systemd") // If even one cgroup path doesn't exist, then the cgroup doesn't exist. for controller, path := range cgroupPaths {