mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #15097 from piosz/autoscaling-e2e
Another try to fix flaky autoscaling test.
This commit is contained in:
commit
26fafb4c4b
@ -75,7 +75,7 @@ var _ = Describe("Autoscaling", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("[Skipped][Autoscaling Suite] should scale cluster size based on memory utilization", func() {
|
It("[Skipped][Autoscaling Suite] should scale cluster size based on memory utilization", func() {
|
||||||
setUpAutoscaler("memory/node_utilization", 0.5, nodeCount, nodeCount+1)
|
setUpAutoscaler("memory/node_utilization", 0.6, nodeCount, nodeCount+1)
|
||||||
|
|
||||||
// Consume 60% of total memory capacity
|
// Consume 60% of total memory capacity
|
||||||
megabytesPerReplica := int(memCapacityMb * 6 / 10 / coresPerNode)
|
megabytesPerReplica := int(memCapacityMb * 6 / 10 / coresPerNode)
|
||||||
|
Loading…
Reference in New Issue
Block a user