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
cae1f409
Commit
cae1f409
authored
Nov 17, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17367 from piosz/deployment-e2e
Auto commit by PR queue bot
parents
539a629f
d246e783
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
e2e.sh
hack/jenkins/e2e.sh
+1
-0
horizontal_pod_autoscaling.go
test/e2e/horizontal_pod_autoscaling.go
+2
-2
No files found.
hack/jenkins/e2e.sh
View file @
cae1f409
...
...
@@ -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"
...
...
test/e2e/horizontal_pod_autoscaling.go
View file @
cae1f409
...
...
@@ -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
)
})
...
...
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