Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
1dc6e88a
Commit
1dc6e88a
authored
Jan 29, 2016
by
Fabio Yeon
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #20274 from ihmccreery/autoscaling-feature
Move HPA e2es into the default slow suite, and add [Feature:ClusterSizeAutoscaling] and [Feature:InitialResources]
parents
9b02a063
5ac20da1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
e2e.sh
hack/jenkins/e2e.sh
+2
-1
cluster_size_autoscaling.go
test/e2e/cluster_size_autoscaling.go
+6
-1
horizontal_pod_autoscaling.go
test/e2e/horizontal_pod_autoscaling.go
+2
-1
initial_resources.go
test/e2e/initial_resources.go
+5
-1
No files found.
hack/jenkins/e2e.sh
View file @
1dc6e88a
...
@@ -352,7 +352,8 @@ case ${JOB_NAME} in
...
@@ -352,7 +352,8 @@ case ${JOB_NAME} in
kubernetes-e2e-gce-autoscaling
)
kubernetes-e2e-gce-autoscaling
)
:
${
E2E_CLUSTER_NAME
:
=
"jenkins-gce-e2e-autoscaling"
}
:
${
E2E_CLUSTER_NAME
:
=
"jenkins-gce-e2e-autoscaling"
}
:
${
E2E_NETWORK
:
=
"e2e-autoscaling"
}
:
${
E2E_NETWORK
:
=
"e2e-autoscaling"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=
\[
Feature:Autoscaling
\]
"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=
\[
Feature:ClusterSizeAutoscaling
\]
|
\[
Feature:InitialResources
\]
\
--ginkgo.skip=
\[
Flaky
\]
"
}
:
${
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"
}
...
...
test/e2e/cluster_size_autoscaling.go
View file @
1dc6e88a
...
@@ -32,7 +32,12 @@ const (
...
@@ -32,7 +32,12 @@ const (
scaleDownTimeout
=
30
*
time
.
Minute
scaleDownTimeout
=
30
*
time
.
Minute
)
)
var
_
=
Describe
(
"Autoscaling [Skipped]"
,
func
()
{
// [Feature:ClusterSizeAutoscaling]: Cluster size autoscaling is experimental
// and require Google Cloud Monitoring to be enabled, so these tests are not
// run by default.
//
// These tests take ~20 minutes to run each.
var
_
=
Describe
(
"Cluster size autoscaling [Feature:ClusterSizeAutoscaling] [Slow]"
,
func
()
{
f
:=
NewFramework
(
"autoscaling"
)
f
:=
NewFramework
(
"autoscaling"
)
var
nodeCount
int
var
nodeCount
int
var
coresPerNode
int
var
coresPerNode
int
...
...
test/e2e/horizontal_pod_autoscaling.go
View file @
1dc6e88a
...
@@ -31,7 +31,8 @@ const (
...
@@ -31,7 +31,8 @@ const (
subresource
=
"scale"
subresource
=
"scale"
)
)
var
_
=
Describe
(
"Horizontal pod autoscaling (scale resource: CPU) [Feature:Autoscaling]"
,
func
()
{
// These tests take ~20 minutes each.
var
_
=
Describe
(
"Horizontal pod autoscaling (scale resource: CPU) [Slow]"
,
func
()
{
var
rc
*
ResourceConsumer
var
rc
*
ResourceConsumer
f
:=
NewFramework
(
"horizontal-pod-autoscaling"
)
f
:=
NewFramework
(
"horizontal-pod-autoscaling"
)
...
...
test/e2e/initial_resources.go
View file @
1dc6e88a
...
@@ -26,7 +26,11 @@ import (
...
@@ -26,7 +26,11 @@ import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api"
)
)
var
_
=
Describe
(
"Initial Resources [Skipped] "
,
func
()
{
// [Feature:InitialResources]: Initial resources is an experimental feature, so
// these tests are not run by default.
//
// Flaky issue #20272
var
_
=
Describe
(
"Initial Resources [Feature:InitialResources] [Flaky]"
,
func
()
{
f
:=
NewFramework
(
"initial-resources"
)
f
:=
NewFramework
(
"initial-resources"
)
It
(
"should set initial resources based on historical data"
,
func
()
{
It
(
"should set initial resources based on historical data"
,
func
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment