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
2dc511a4
Unverified
Commit
2dc511a4
authored
Oct 25, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70233 from jbartosik/e2e-deflake
Change back HPA e2e tests to request 500 mCPU
parents
584a8673
1b90dc96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
horizontal_pod_autoscaling.go
test/e2e/autoscaling/horizontal_pod_autoscaling.go
+5
-5
No files found.
test/e2e/autoscaling/horizontal_pod_autoscaling.go
View file @
2dc511a4
...
@@ -137,14 +137,14 @@ func scaleUp(name string, kind schema.GroupVersionKind, checkStability bool, rc
...
@@ -137,14 +137,14 @@ func scaleUp(name string, kind schema.GroupVersionKind, checkStability bool, rc
}
}
scaleTest
:=
&
HPAScaleTest
{
scaleTest
:=
&
HPAScaleTest
{
initPods
:
1
,
initPods
:
1
,
totalInitialCPUUsage
:
50
0
,
totalInitialCPUUsage
:
25
0
,
perPodCPURequest
:
10
00
,
perPodCPURequest
:
5
00
,
targetCPUUtilizationPercent
:
20
,
targetCPUUtilizationPercent
:
20
,
minPods
:
1
,
minPods
:
1
,
maxPods
:
5
,
maxPods
:
5
,
firstScale
:
3
,
firstScale
:
3
,
firstScaleStasis
:
stasis
,
firstScaleStasis
:
stasis
,
cpuBurst
:
14
00
,
cpuBurst
:
7
00
,
secondScale
:
5
,
secondScale
:
5
,
}
}
scaleTest
.
run
(
name
,
kind
,
rc
,
f
)
scaleTest
.
run
(
name
,
kind
,
rc
,
f
)
...
@@ -157,8 +157,8 @@ func scaleDown(name string, kind schema.GroupVersionKind, checkStability bool, r
...
@@ -157,8 +157,8 @@ func scaleDown(name string, kind schema.GroupVersionKind, checkStability bool, r
}
}
scaleTest
:=
&
HPAScaleTest
{
scaleTest
:=
&
HPAScaleTest
{
initPods
:
5
,
initPods
:
5
,
totalInitialCPUUsage
:
650
,
totalInitialCPUUsage
:
325
,
perPodCPURequest
:
10
00
,
perPodCPURequest
:
5
00
,
targetCPUUtilizationPercent
:
30
,
targetCPUUtilizationPercent
:
30
,
minPods
:
1
,
minPods
:
1
,
maxPods
:
5
,
maxPods
:
5
,
...
...
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