Change the kubelet --max-pods limit to 110 for test clusters

This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.

Also reduce the test time length since the results over the shorter period are
representative enough.
This commit is contained in:
Yu-Ju Hong 2015-12-07 15:26:30 -08:00
parent 33eda2ffb5
commit c1a0502487
3 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@ ENABLE_CLUSTER_MONITORING="${KUBE_ENABLE_CLUSTER_MONITORING:-influxdb}"
TEST_CLUSTER_LOG_LEVEL="${TEST_CLUSTER_LOG_LEVEL:---v=4}"
TEST_CLUSTER_RESYNC_PERIOD="${TEST_CLUSTER_RESYNC_PERIOD:---min-resync-period=3m}"
KUBELET_TEST_ARGS="--max-pods=100 $TEST_CLUSTER_LOG_LEVEL"
KUBELET_TEST_ARGS="--max-pods=110 $TEST_CLUSTER_LOG_LEVEL"
APISERVER_TEST_ARGS="--runtime-config=extensions/v1beta1 ${TEST_CLUSTER_LOG_LEVEL}"
CONTROLLER_MANAGER_TEST_ARGS="${TEST_CLUSTER_LOG_LEVEL} ${TEST_CLUSTER_RESYNC_PERIOD}"
SCHEDULER_TEST_ARGS="${TEST_CLUSTER_LOG_LEVEL}"

View File

@ -275,7 +275,7 @@ GKE_REQUIRED_SKIP_TESTS=(
"Nodes"
"Etcd\sFailure"
"MasterCerts"
"experimental\sresource\susage\stracking" # Expect --max-pods=100
"experimental\sresource\susage\stracking" # Expect --max-pods=110
"ServiceLoadBalancer" # issue: #16602
"Shell"
# Alpha features, remove from skip when these move to beta
@ -298,7 +298,7 @@ GKE_DEFAULT_SKIP_TESTS=(
# Tests which cannot be run on AWS.
AWS_REQUIRED_SKIP_TESTS=(
"experimental\sresource\susage\stracking" # Expect --max-pods=100
"experimental\sresource\susage\stracking" # Expect --max-pods=110
"GCE\sL7\sLoadBalancer\sController" # GCE L7 loadbalancing
)

View File

@ -33,7 +33,7 @@ const (
// Interval to poll /stats/container on a node
containerStatsPollingPeriod = 10 * time.Second
// The monitoring time for one test.
monitoringTime = 30 * time.Minute
monitoringTime = 20 * time.Minute
// The periodic reporting period.
reportingPeriod = 5 * time.Minute
)
@ -118,7 +118,7 @@ var _ = Describe("Kubelet", func() {
})
Describe("regular resource usage tracking", func() {
density := []int{0, 35}
density := []int{0, 40}
for i := range density {
podsPerNode := density[i]
name := fmt.Sprintf(
@ -129,7 +129,7 @@ var _ = Describe("Kubelet", func() {
}
})
Describe("experimental resource usage tracking", func() {
density := []int{50}
density := []int{100}
for i := range density {
podsPerNode := density[i]
name := fmt.Sprintf(