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
fed3d755
Unverified
Commit
fed3d755
authored
Jan 18, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Jan 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73016 from mkumatag/ppc64le_node_test
Bump the pod memory to higher levels to work on power
parents
cb09d4d3
f14138c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
summary_test.go
test/e2e_node/summary_test.go
+12
-12
No files found.
test/e2e_node/summary_test.go
View file @
fed3d755
...
@@ -113,9 +113,9 @@ var _ = framework.KubeDescribe("Summary API [NodeConformance]", func() {
...
@@ -113,9 +113,9 @@ var _ = framework.KubeDescribe("Summary API [NodeConformance]", func() {
"Time"
:
recent
(
maxStatsAge
),
"Time"
:
recent
(
maxStatsAge
),
// Pods are limited by Node Allocatable
// Pods are limited by Node Allocatable
"AvailableBytes"
:
bounded
(
1
*
framework
.
Kb
,
memoryLimit
),
"AvailableBytes"
:
bounded
(
1
*
framework
.
Kb
,
memoryLimit
),
"UsageBytes"
:
bounded
(
10
*
framework
.
Kb
,
5
0
*
framework
.
Mb
),
"UsageBytes"
:
bounded
(
10
*
framework
.
Kb
,
40
0
*
framework
.
Mb
),
"WorkingSetBytes"
:
bounded
(
10
*
framework
.
Kb
,
5
0
*
framework
.
Mb
),
"WorkingSetBytes"
:
bounded
(
10
*
framework
.
Kb
,
40
0
*
framework
.
Mb
),
"RSSBytes"
:
bounded
(
1
*
framework
.
Kb
,
2
0
*
framework
.
Mb
),
"RSSBytes"
:
bounded
(
1
*
framework
.
Kb
,
16
0
*
framework
.
Mb
),
"PageFaults"
:
bounded
(
0
,
1000000
),
"PageFaults"
:
bounded
(
0
,
1000000
),
"MajorPageFaults"
:
bounded
(
0
,
10
),
"MajorPageFaults"
:
bounded
(
0
,
10
),
})
})
...
@@ -180,10 +180,10 @@ var _ = framework.KubeDescribe("Summary API [NodeConformance]", func() {
...
@@ -180,10 +180,10 @@ var _ = framework.KubeDescribe("Summary API [NodeConformance]", func() {
}),
}),
"Memory"
:
ptrMatchAllFields
(
gstruct
.
Fields
{
"Memory"
:
ptrMatchAllFields
(
gstruct
.
Fields
{
"Time"
:
recent
(
maxStatsAge
),
"Time"
:
recent
(
maxStatsAge
),
"AvailableBytes"
:
bounded
(
1
*
framework
.
Kb
,
1
0
*
framework
.
Mb
),
"AvailableBytes"
:
bounded
(
1
*
framework
.
Kb
,
8
0
*
framework
.
Mb
),
"UsageBytes"
:
bounded
(
10
*
framework
.
Kb
,
2
0
*
framework
.
Mb
),
"UsageBytes"
:
bounded
(
10
*
framework
.
Kb
,
8
0
*
framework
.
Mb
),
"WorkingSetBytes"
:
bounded
(
10
*
framework
.
Kb
,
2
0
*
framework
.
Mb
),
"WorkingSetBytes"
:
bounded
(
10
*
framework
.
Kb
,
8
0
*
framework
.
Mb
),
"RSSBytes"
:
bounded
(
1
*
framework
.
Kb
,
framework
.
Mb
),
"RSSBytes"
:
bounded
(
1
*
framework
.
Kb
,
80
*
framework
.
Mb
),
"PageFaults"
:
bounded
(
100
,
1000000
),
"PageFaults"
:
bounded
(
100
,
1000000
),
"MajorPageFaults"
:
bounded
(
0
,
10
),
"MajorPageFaults"
:
bounded
(
0
,
10
),
}),
}),
...
@@ -227,10 +227,10 @@ var _ = framework.KubeDescribe("Summary API [NodeConformance]", func() {
...
@@ -227,10 +227,10 @@ var _ = framework.KubeDescribe("Summary API [NodeConformance]", func() {
}),
}),
"Memory"
:
ptrMatchAllFields
(
gstruct
.
Fields
{
"Memory"
:
ptrMatchAllFields
(
gstruct
.
Fields
{
"Time"
:
recent
(
maxStatsAge
),
"Time"
:
recent
(
maxStatsAge
),
"AvailableBytes"
:
bounded
(
1
*
framework
.
Kb
,
1
0
*
framework
.
Mb
),
"AvailableBytes"
:
bounded
(
1
*
framework
.
Kb
,
8
0
*
framework
.
Mb
),
"UsageBytes"
:
bounded
(
10
*
framework
.
Kb
,
2
0
*
framework
.
Mb
),
"UsageBytes"
:
bounded
(
10
*
framework
.
Kb
,
8
0
*
framework
.
Mb
),
"WorkingSetBytes"
:
bounded
(
10
*
framework
.
Kb
,
2
0
*
framework
.
Mb
),
"WorkingSetBytes"
:
bounded
(
10
*
framework
.
Kb
,
8
0
*
framework
.
Mb
),
"RSSBytes"
:
bounded
(
1
*
framework
.
Kb
,
framework
.
Mb
),
"RSSBytes"
:
bounded
(
1
*
framework
.
Kb
,
80
*
framework
.
Mb
),
"PageFaults"
:
bounded
(
0
,
1000000
),
"PageFaults"
:
bounded
(
0
,
1000000
),
"MajorPageFaults"
:
bounded
(
0
,
10
),
"MajorPageFaults"
:
bounded
(
0
,
10
),
}),
}),
...
@@ -353,7 +353,7 @@ func getSummaryTestPods(f *framework.Framework, numRestarts int32, names ...stri
...
@@ -353,7 +353,7 @@ func getSummaryTestPods(f *framework.Framework, numRestarts int32, names ...stri
Resources
:
v1
.
ResourceRequirements
{
Resources
:
v1
.
ResourceRequirements
{
Limits
:
v1
.
ResourceList
{
Limits
:
v1
.
ResourceList
{
// Must set memory limit to get MemoryStats.AvailableBytes
// Must set memory limit to get MemoryStats.AvailableBytes
v1
.
ResourceMemory
:
resource
.
MustParse
(
"
1
0M"
),
v1
.
ResourceMemory
:
resource
.
MustParse
(
"
8
0M"
),
},
},
},
},
VolumeMounts
:
[]
v1
.
VolumeMount
{
VolumeMounts
:
[]
v1
.
VolumeMount
{
...
...
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