Enabled HPA for deployment e2e

pull/6/head
Piotr Szczesniak 2015-11-17 11:10:43 +01:00
parent 5e20dcfd6f
commit d246e7833b
2 changed files with 3 additions and 2 deletions

View File

@ -286,6 +286,7 @@ case ${JOB_NAME} in
: ${KUBE_GCE_INSTANCE_PREFIX:="e2e-autoscaling"} : ${KUBE_GCE_INSTANCE_PREFIX:="e2e-autoscaling"}
: ${PROJECT:="k8s-jnks-e2e-gce-autoscaling"} : ${PROJECT:="k8s-jnks-e2e-gce-autoscaling"}
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"} : ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
: ${ENABLE_DEPLOYMENTS:=true}
# Override GCE default for cluster size autoscaling purposes. # Override GCE default for cluster size autoscaling purposes.
ENABLE_CLUSTER_MONITORING="googleinfluxdb" ENABLE_CLUSTER_MONITORING="googleinfluxdb"
ADMISSION_CONTROL="NamespaceLifecycle,InitialResources,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota" ADMISSION_CONTROL="NamespaceLifecycle,InitialResources,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota"

View File

@ -42,10 +42,10 @@ var _ = Describe("Horizontal pod autoscaling", func() {
titleDown := "%s should scale from 5 pods to 3 pods and from 3 to 1 (via %s, with scale resource: CPU)" titleDown := "%s should scale from 5 pods to 3 pods and from 3 to 1 (via %s, with scale resource: CPU)"
// CPU tests via deployments // CPU tests via deployments
It(fmt.Sprintf(titleUp, "[Skipped]", kindDeployment), func() { It(fmt.Sprintf(titleUp, "[Autoscaling Suite]", kindDeployment), func() {
scaleUp("deployment", kindDeployment, rc, f) scaleUp("deployment", kindDeployment, rc, f)
}) })
It(fmt.Sprintf(titleDown, "[Skipped]", kindDeployment), func() { It(fmt.Sprintf(titleDown, "[Autoscaling Suite]", kindDeployment), func() {
scaleDown("deployment", kindDeployment, rc, f) scaleDown("deployment", kindDeployment, rc, f)
}) })