Revert "Remove deprecated and experimental fields from KubeletConfiguration"

This commit is contained in:
Shyam JVS
2017-09-02 16:30:56 +02:00
committed by GitHub
parent 9934d12cad
commit 3bba914496
16 changed files with 340 additions and 272 deletions

View File

@@ -59,6 +59,7 @@ var _ = framework.KubeDescribe("MemoryAllocatableEviction [Slow] [Serial] [Disru
kubeReserved.Sub(resource.MustParse("300Mi"))
initialConfig.KubeReserved = kubeletconfig.ConfigurationMap(map[string]string{string(v1.ResourceMemory): kubeReserved.String()})
initialConfig.EnforceNodeAllocatable = []string{cm.NodeAllocatableEnforcementKey}
initialConfig.ExperimentalNodeAllocatableIgnoreEvictionThreshold = false
initialConfig.CgroupsPerQOS = true
})
// Place the remainder of the test within a context so that the kubelet config is set before and after the test.