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
28b3448a
Commit
28b3448a
authored
Mar 04, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #22314 from yujuhong/resource_100
Auto commit by PR queue bot
parents
d9d0fdec
216727c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
kubelet_perf.go
test/e2e/kubelet_perf.go
+9
-5
No files found.
test/e2e/kubelet_perf.go
View file @
28b3448a
...
...
@@ -135,7 +135,7 @@ func verifyMemoryLimits(expected resourceUsagePerContainer, actual resourceUsage
}
}
if
len
(
errList
)
>
0
{
Failf
(
"
CPU
usage exceeding limits:
\n
%s"
,
strings
.
Join
(
errList
,
"
\n
"
))
Failf
(
"
Memory
usage exceeding limits:
\n
%s"
,
strings
.
Join
(
errList
,
"
\n
"
))
}
}
...
...
@@ -204,7 +204,8 @@ var _ = Describe("Kubelet [Serial] [Slow]", func() {
// deliberately set higher resource usage limits to account for the
// noise.
rTests
:=
[]
resourceTest
{
{
podsPerNode
:
0
,
{
podsPerNode
:
0
,
cpuLimits
:
containersCPUSummary
{
"/kubelet"
:
{
0.50
:
0.06
,
0.95
:
0.08
},
"/docker-daemon"
:
{
0.50
:
0.05
,
0.95
:
0.06
},
...
...
@@ -216,9 +217,8 @@ var _ = Describe("Kubelet [Serial] [Slow]", func() {
"/docker-daemon"
:
&
containerResourceUsage
{
MemoryRSSInBytes
:
85
*
1024
*
1024
},
},
},
// TODO(yujuhong): change this test to ~100 pods per node after
// --max-pods have been changed.
{
podsPerNode
:
35
,
{
podsPerNode
:
35
,
cpuLimits
:
containersCPUSummary
{
"/kubelet"
:
{
0.50
:
0.12
,
0.95
:
0.14
},
"/docker-daemon"
:
{
0.50
:
0.06
,
0.95
:
0.08
},
...
...
@@ -230,6 +230,10 @@ var _ = Describe("Kubelet [Serial] [Slow]", func() {
"/docker-daemon"
:
&
containerResourceUsage
{
MemoryRSSInBytes
:
100
*
1024
*
1024
},
},
},
{
// TODO(yujuhong): Set the limits after collecting enough data.
podsPerNode
:
100
,
},
}
for
_
,
testArg
:=
range
rTests
{
itArg
:=
testArg
...
...
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