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
2a62468f
Commit
2a62468f
authored
Oct 09, 2015
by
Wojciech Tyczynski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15364 from piosz/req-test
Enabled autoscaling (based on reservation) e2e tests
parents
bf0622a2
1f15c308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
autoscaling.go
test/e2e/autoscaling.go
+2
-2
No files found.
test/e2e/autoscaling.go
View file @
2a62468f
...
@@ -69,7 +69,7 @@ var _ = Describe("Autoscaling", func() {
...
@@ -69,7 +69,7 @@ var _ = Describe("Autoscaling", func() {
expectNoError
(
waitForClusterSize
(
f
.
Client
,
nodeCount
,
scaleDownTimeout
))
expectNoError
(
waitForClusterSize
(
f
.
Client
,
nodeCount
,
scaleDownTimeout
))
})
})
It
(
"[Skipped] should scale cluster size based on cpu reservation"
,
func
()
{
It
(
"[Skipped]
[Autoscaling Suite]
should scale cluster size based on cpu reservation"
,
func
()
{
setUpAutoscaler
(
"cpu/node_reservation"
,
0.5
,
nodeCount
,
nodeCount
+
1
)
setUpAutoscaler
(
"cpu/node_reservation"
,
0.5
,
nodeCount
,
nodeCount
+
1
)
ReserveCpu
(
f
,
"cpu-reservation"
,
600
*
nodeCount
*
coresPerNode
)
ReserveCpu
(
f
,
"cpu-reservation"
,
600
*
nodeCount
*
coresPerNode
)
...
@@ -91,7 +91,7 @@ var _ = Describe("Autoscaling", func() {
...
@@ -91,7 +91,7 @@ var _ = Describe("Autoscaling", func() {
expectNoError
(
waitForClusterSize
(
f
.
Client
,
nodeCount
,
scaleDownTimeout
))
expectNoError
(
waitForClusterSize
(
f
.
Client
,
nodeCount
,
scaleDownTimeout
))
})
})
It
(
"[Skipped] should scale cluster size based on memory reservation"
,
func
()
{
It
(
"[Skipped]
[Autoscaling Suite]
should scale cluster size based on memory reservation"
,
func
()
{
setUpAutoscaler
(
"memory/node_reservation"
,
0.5
,
nodeCount
,
nodeCount
+
1
)
setUpAutoscaler
(
"memory/node_reservation"
,
0.5
,
nodeCount
,
nodeCount
+
1
)
ReserveMemory
(
f
,
"memory-reservation"
,
nodeCount
*
memCapacityMb
*
6
/
10
)
ReserveMemory
(
f
,
"memory-reservation"
,
nodeCount
*
memCapacityMb
*
6
/
10
)
...
...
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