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
53df30f4
Commit
53df30f4
authored
Mar 22, 2017
by
Maciej Pytel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Cluster-Autoscaler e2e failing on some node configs
parent
ee255d09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cluster_size_autoscaling.go
test/e2e/cluster_size_autoscaling.go
+2
-2
No files found.
test/e2e/cluster_size_autoscaling.go
View file @
53df30f4
...
...
@@ -112,7 +112,7 @@ var _ = framework.KubeDescribe("Cluster size autoscaling [Slow]", func() {
It
(
"shouldn't increase cluster size if pending pod is too large [Feature:ClusterSizeAutoscalingScaleUp]"
,
func
()
{
By
(
"Creating unschedulable pod"
)
ReserveMemory
(
f
,
"memory-reservation"
,
1
,
memCapacityMb
,
false
)
ReserveMemory
(
f
,
"memory-reservation"
,
1
,
int
(
1.1
*
float64
(
memCapacityMb
))
,
false
)
defer
framework
.
DeleteRCAndPods
(
f
.
ClientSet
,
f
.
InternalClientset
,
f
.
Namespace
.
Name
,
"memory-reservation"
)
By
(
"Waiting for scale up hoping it won't happen"
)
...
...
@@ -281,7 +281,7 @@ var _ = framework.KubeDescribe("Cluster size autoscaling [Slow]", func() {
framework
.
ExpectNoError
(
enableAutoscaler
(
extraPoolName
,
1
,
2
))
By
(
"Creating rc with 2 pods too big to fit default-pool but fitting extra-pool"
)
ReserveMemory
(
f
,
"memory-reservation"
,
2
,
2
*
memCapacityMb
,
false
)
ReserveMemory
(
f
,
"memory-reservation"
,
2
,
int
(
2.1
*
float64
(
memCapacityMb
))
,
false
)
defer
framework
.
DeleteRCAndPods
(
f
.
ClientSet
,
f
.
InternalClientset
,
f
.
Namespace
.
Name
,
"memory-reservation"
)
// Apparently GKE master is restarted couple minutes after the node pool is added
...
...
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