Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote pod autoscaling #79954

Merged
merged 5 commits into from Jul 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions test/conformance/testdata/conformance.txt
Expand Up @@ -38,6 +38,7 @@ test/e2e/apps/statefulset.go: "Burst scaling should run to completion even with
test/e2e/apps/statefulset.go: "Should recreate evicted statefulset"
test/e2e/auth/service_accounts.go: "should mount an API token into pods"
test/e2e/auth/service_accounts.go: "should allow opting out of API token automount"
test/e2e/autoscaling/horizontal_pod_autoscaling.go: "should scale from 1 pod to 2 pods"
test/e2e/common/configmap.go: "should be consumable via environment variable"
test/e2e/common/configmap.go: "should be consumable via the environment"
test/e2e/common/configmap.go: "should fail to create ConfigMap with empty key"
Expand Down
9 changes: 8 additions & 1 deletion test/e2e/autoscaling/horizontal_pod_autoscaling.go
Expand Up @@ -67,7 +67,14 @@ var _ = SIGDescribe("[HPA] Horizontal pod autoscaling (scale resource: CPU)", fu
})

SIGDescribe("ReplicationController light", func() {
ginkgo.It("Should scale from 1 pod to 2 pods", func() {
/*
Release : v1.16
Testname: Horizontal Pod Autoscaling, CPU Target Utilization Scale
Description: Given 1 Pod with 150mCPU usage, 200mCPU per Pod request, and
targeted CPU uitilzation of 50% the HP Autoscaler MUST create another pod,
spreading the 150mCPU usage across both Pods.
*/
framework.ConformanceIt("should scale from 1 pod to 2 pods", func() {
scaleTest := &HPAScaleTest{
initPods: 1,
totalInitialCPUUsage: 150,
Expand Down