mirror of https://github.com/k3s-io/k3s
Merge pull request #14538 from piosz/horizontal-fix
Actually enabled Horizontal Pod Autoscaling testspull/6/head
commit
8dff00a94a
|
@ -34,7 +34,7 @@ var _ = Describe("Horizontal pod autoscaling", func() {
|
|||
f := NewFramework("horizontal-pod-autoscaling")
|
||||
|
||||
// CPU tests
|
||||
It("[Skipped][Autoscaling suite] should scale from 1 pod to 3 pods (scale resource: CPU)", func() {
|
||||
It("[Skipped][Autoscaling Suite] should scale from 1 pod to 3 pods (scale resource: CPU)", func() {
|
||||
rc = NewDynamicResourceConsumer("rc", 1, 700, 0, 800, 100, f)
|
||||
createCPUHorizontalPodAutoscaler(rc, "0.3")
|
||||
rc.WaitForReplicas(3)
|
||||
|
@ -139,7 +139,7 @@ var _ = Describe("Horizontal pod autoscaling", func() {
|
|||
rc.WaitForReplicas(3)
|
||||
rc.CleanUp()
|
||||
})
|
||||
It("[Skipped][Autoscaling suite] should scale from 5 pods to 3 pods and from 3 to 1 (scale resource: Memory)", func() {
|
||||
It("[Skipped][Autoscaling Suite] should scale from 5 pods to 3 pods and from 3 to 1 (scale resource: Memory)", func() {
|
||||
rc = NewDynamicResourceConsumer("rc", 5, 0, 700, 100, 800, f)
|
||||
createMemoryHorizontalPodAutoscaler(rc, "300")
|
||||
rc.WaitForReplicas(3)
|
||||
|
|
Loading…
Reference in New Issue