mirror of https://github.com/k3s-io/k3s
Enabled HPA for deployment e2e
parent
5e20dcfd6f
commit
d246e7833b
|
@ -286,6 +286,7 @@ case ${JOB_NAME} in
|
|||
: ${KUBE_GCE_INSTANCE_PREFIX:="e2e-autoscaling"}
|
||||
: ${PROJECT:="k8s-jnks-e2e-gce-autoscaling"}
|
||||
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
||||
: ${ENABLE_DEPLOYMENTS:=true}
|
||||
# Override GCE default for cluster size autoscaling purposes.
|
||||
ENABLE_CLUSTER_MONITORING="googleinfluxdb"
|
||||
ADMISSION_CONTROL="NamespaceLifecycle,InitialResources,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota"
|
||||
|
|
|
@ -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)"
|
||||
|
||||
// CPU tests via deployments
|
||||
It(fmt.Sprintf(titleUp, "[Skipped]", kindDeployment), func() {
|
||||
It(fmt.Sprintf(titleUp, "[Autoscaling Suite]", kindDeployment), func() {
|
||||
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)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue