mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Fix l7 constraints in density test
This commit is contained in:
parent
aa260f5019
commit
bd6c5f4f57
@ -70,6 +70,7 @@ func density30AddonResourceVerifier(numNodes int) map[string]framework.ResourceC
|
||||
controllerMem = math.MaxUint64
|
||||
schedulerCPU := math.MaxFloat32
|
||||
schedulerMem = math.MaxUint64
|
||||
framework.Logf("Setting resource constraings for provider: %s", framework.TestContext.Provider)
|
||||
if framework.ProviderIs("kubemark") {
|
||||
if numNodes <= 5 {
|
||||
apiserverCPU = 0.15
|
||||
@ -134,8 +135,8 @@ func density30AddonResourceVerifier(numNodes int) map[string]framework.ResourceC
|
||||
MemoryConstraint: 20 * (1024 * 1024),
|
||||
}
|
||||
constraints["l7-lb-controller"] = framework.ResourceConstraint{
|
||||
CPUConstraint: 0.05,
|
||||
MemoryConstraint: 20 * (1024 * 1024),
|
||||
CPUConstraint: 0.1,
|
||||
MemoryConstraint: 60 * (1024 * 1024),
|
||||
}
|
||||
constraints["influxdb"] = framework.ResourceConstraint{
|
||||
CPUConstraint: 2,
|
||||
|
Loading…
Reference in New Issue
Block a user