Fix failing density test in 100-node clusters

pull/6/head
Wojciech Tyczynski 2017-02-06 12:18:10 +01:00
parent 1df1ad9d34
commit e3c098442d
1 changed files with 7 additions and 2 deletions

View File

@ -144,7 +144,12 @@ func density30AddonResourceVerifier(numNodes int) map[string]framework.ResourceC
} }
constraints["kube-proxy"] = framework.ResourceConstraint{ constraints["kube-proxy"] = framework.ResourceConstraint{
CPUConstraint: 0.15, CPUConstraint: 0.15,
MemoryConstraint: 30 * (1024 * 1024), // When we are running purely density test, 30MB seems to be enough.
// However, we are usually running Density together with Load test.
// Thus, if Density is running after Load (which is creating and
// propagating a bunch of services), kubeproxy is using much more
// memory and not releasing it afterwards.
MemoryConstraint: 60 * (1024 * 1024),
} }
constraints["l7-lb-controller"] = framework.ResourceConstraint{ constraints["l7-lb-controller"] = framework.ResourceConstraint{
CPUConstraint: 0.15, CPUConstraint: 0.15,