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
da117869
Commit
da117869
authored
May 31, 2016
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kubelet e2e: set cpu/memory limits for docker 1.11
Docker 1.11 consumes more memory. Bump the limit to fix the tests. Also add new limits for the 100-pod resource usage tracking test.
parent
5762ebfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
kubelet_perf.go
test/e2e/kubelet_perf.go
+13
-3
No files found.
test/e2e/kubelet_perf.go
View file @
da117869
...
...
@@ -235,17 +235,27 @@ var _ = framework.KubeDescribe("Kubelet [Serial] [Slow]", func() {
podsPerNode
:
35
,
cpuLimits
:
framework
.
ContainersCPUSummary
{
stats
.
SystemContainerKubelet
:
{
0.50
:
0.12
,
0.95
:
0.14
},
stats
.
SystemContainerRuntime
:
{
0.50
:
0.0
6
,
0.95
:
0.08
},
stats
.
SystemContainerRuntime
:
{
0.50
:
0.0
5
,
0.95
:
0.07
},
},
// We set the memory limits generously because the distribution
// of the addon pods affect the memory usage on each node.
memLimits
:
framework
.
ResourceUsagePerContainer
{
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
100
*
1024
*
1024
},
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
70
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
150
*
1024
*
1024
},
},
},
{
// TODO(yujuhong): Set the limits after collecting enough data.
cpuLimits
:
framework
.
ContainersCPUSummary
{
stats
.
SystemContainerKubelet
:
{
0.50
:
0.15
,
0.95
:
0.20
},
stats
.
SystemContainerRuntime
:
{
0.50
:
0.06
,
0.95
:
0.09
},
},
podsPerNode
:
100
,
// We set the memory limits generously because the distribution
// of the addon pods affect the memory usage on each node.
memLimits
:
framework
.
ResourceUsagePerContainer
{
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
80
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
300
*
1024
*
1024
},
},
},
}
for
_
,
testArg
:=
range
rTests
{
...
...
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