mirror of https://github.com/k3s-io/k3s
Enabled InitialResources e2e in autoscaling suite
parent
8e25b7c7bf
commit
35cf8cc76c
|
@ -118,7 +118,7 @@ if [[ "${ENABLE_DEPLOYMENTS}" == "true" ]]; then
|
|||
ENABLE_EXPERIMENTAL_API=true
|
||||
fi
|
||||
|
||||
ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota
|
||||
ADMISSION_CONTROL="${KUBE_ADMISSION_CONTROL:-NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota}"
|
||||
|
||||
# Optional: if set to true kube-up will automatically check for existing resources and clean them up.
|
||||
KUBE_UP_AUTOMATIC_CLEANUP=${KUBE_UP_AUTOMATIC_CLEANUP:-false}
|
||||
|
|
|
@ -228,6 +228,7 @@ case ${JOB_NAME} in
|
|||
# Override GCE default for cluster size autoscaling purposes.
|
||||
ENABLE_CLUSTER_MONITORING="googleinfluxdb"
|
||||
ENABLE_HORIZONTAL_POD_AUTOSCALER="true"
|
||||
ADMISSION_CONTROL="NamespaceLifecycle,InitialResources,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota"
|
||||
;;
|
||||
|
||||
# Runs the flaky tests on GCE, sequentially.
|
||||
|
@ -833,6 +834,8 @@ export NUM_MINIONS=${NUM_MINIONS:-}
|
|||
export PROJECT=${PROJECT:-}
|
||||
export JENKINS_PUBLISHED_VERSION=${JENKINS_PUBLISHED_VERSION:-'ci/latest'}
|
||||
|
||||
export KUBE_ADMISSION_CONTROL=${ADMISSION_CONTROL:-}
|
||||
|
||||
export KUBERNETES_PROVIDER=${KUBERNETES_PROVIDER}
|
||||
export PATH=${PATH}:/usr/local/go/bin
|
||||
export KUBE_SKIP_CONFIRMATIONS=y
|
||||
|
|
|
@ -28,7 +28,7 @@ import (
|
|||
var _ = Describe("Initial Resources", func() {
|
||||
f := NewFramework("initial-resources")
|
||||
|
||||
It("[Skipped] should set initial resources based on historical data", func() {
|
||||
It("[Skipped][Autoscaling Suite] should set initial resources based on historical data", func() {
|
||||
cpu := 100
|
||||
mem := 200
|
||||
for i := 0; i < 10; i++ {
|
||||
|
|
Loading…
Reference in New Issue