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
d477bd90
Commit
d477bd90
authored
Jan 22, 2019
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Leave slack for addon pods in node's capacity
parent
5c4b536f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
density.go
test/e2e/scalability/density.go
+3
-2
No files found.
test/e2e/scalability/density.go
View file @
d477bd90
...
@@ -500,8 +500,9 @@ var _ = SIGDescribe("Density", func() {
...
@@ -500,8 +500,9 @@ var _ = SIGDescribe("Density", func() {
nodeCount
=
len
(
nodes
.
Items
)
nodeCount
=
len
(
nodes
.
Items
)
Expect
(
nodeCount
)
.
NotTo
(
BeZero
())
Expect
(
nodeCount
)
.
NotTo
(
BeZero
())
nodeCpuCapacity
=
nodes
.
Items
[
0
]
.
Status
.
Allocatable
.
Cpu
()
.
MilliValue
()
// Compute node capacity, leaving some slack for addon pods.
nodeMemCapacity
=
nodes
.
Items
[
0
]
.
Status
.
Allocatable
.
Memory
()
.
Value
()
nodeCpuCapacity
=
nodes
.
Items
[
0
]
.
Status
.
Allocatable
.
Cpu
()
.
MilliValue
()
-
100
nodeMemCapacity
=
nodes
.
Items
[
0
]
.
Status
.
Allocatable
.
Memory
()
.
Value
()
-
100
*
1024
*
1024
// Terminating a namespace (deleting the remaining objects from it - which
// Terminating a namespace (deleting the remaining objects from it - which
// generally means events) can affect the current run. Thus we wait for all
// generally means events) can affect the current run. Thus we wait for all
...
...
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