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
71bd92ce
Commit
71bd92ce
authored
Jun 23, 2017
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e: bump kubelet's resurce usage limit
We don't have per-OS image limits. Bumping these to more generous numbers to not fail the tests.
parent
8679677e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
kubelet_perf.go
test/e2e/kubelet_perf.go
+2
-2
resource_usage_test.go
test/e2e_node/resource_usage_test.go
+1
-1
No files found.
test/e2e/kubelet_perf.go
View file @
71bd92ce
...
@@ -244,7 +244,7 @@ var _ = framework.KubeDescribe("Kubelet [Serial] [Slow]", func() {
...
@@ -244,7 +244,7 @@ var _ = framework.KubeDescribe("Kubelet [Serial] [Slow]", func() {
stats
.
SystemContainerRuntime
:
{
0.50
:
0.10
,
0.95
:
0.20
},
stats
.
SystemContainerRuntime
:
{
0.50
:
0.10
,
0.95
:
0.20
},
},
},
memLimits
:
framework
.
ResourceUsagePerContainer
{
memLimits
:
framework
.
ResourceUsagePerContainer
{
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
7
0
*
1024
*
1024
},
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
20
0
*
1024
*
1024
},
// The detail can be found at https://github.com/kubernetes/kubernetes/issues/28384#issuecomment-244158892
// The detail can be found at https://github.com/kubernetes/kubernetes/issues/28384#issuecomment-244158892
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
125
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
125
*
1024
*
1024
},
},
},
...
@@ -256,7 +256,7 @@ var _ = framework.KubeDescribe("Kubelet [Serial] [Slow]", func() {
...
@@ -256,7 +256,7 @@ var _ = framework.KubeDescribe("Kubelet [Serial] [Slow]", func() {
},
},
podsPerNode
:
100
,
podsPerNode
:
100
,
memLimits
:
framework
.
ResourceUsagePerContainer
{
memLimits
:
framework
.
ResourceUsagePerContainer
{
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
12
0
*
1024
*
1024
},
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
30
0
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
300
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
300
*
1024
*
1024
},
},
},
},
},
...
...
test/e2e_node/resource_usage_test.go
View file @
71bd92ce
...
@@ -71,7 +71,7 @@ var _ = framework.KubeDescribe("Resource-usage [Serial] [Slow]", func() {
...
@@ -71,7 +71,7 @@ var _ = framework.KubeDescribe("Resource-usage [Serial] [Slow]", func() {
stats
.
SystemContainerRuntime
:
{
0.50
:
0.30
,
0.95
:
0.40
},
stats
.
SystemContainerRuntime
:
{
0.50
:
0.30
,
0.95
:
0.40
},
},
},
memLimits
:
framework
.
ResourceUsagePerContainer
{
memLimits
:
framework
.
ResourceUsagePerContainer
{
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
1
00
*
1024
*
1024
},
stats
.
SystemContainerKubelet
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
2
00
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
400
*
1024
*
1024
},
stats
.
SystemContainerRuntime
:
&
framework
.
ContainerResourceUsage
{
MemoryRSSInBytes
:
400
*
1024
*
1024
},
},
},
},
},
...
...
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