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
db74d4db
Commit
db74d4db
authored
Aug 26, 2016
by
Avesh Agarwal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix downward api tests to output node allocatable not node capacity
parent
e24aff07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
downward_api.go
test/e2e/common/downward_api.go
+1
-1
test_owners.csv
test/test_owners.csv
+1
-1
No files found.
test/e2e/common/downward_api.go
View file @
db74d4db
...
@@ -128,7 +128,7 @@ var _ = framework.KubeDescribe("Downward API", func() {
...
@@ -128,7 +128,7 @@ var _ = framework.KubeDescribe("Downward API", func() {
testDownwardAPI
(
f
,
podName
,
env
,
expectations
)
testDownwardAPI
(
f
,
podName
,
env
,
expectations
)
})
})
It
(
"should provide default limits.cpu/memory from node
capacity
"
,
func
()
{
It
(
"should provide default limits.cpu/memory from node
allocatable
"
,
func
()
{
podName
:=
"downward-api-"
+
string
(
uuid
.
NewUUID
())
podName
:=
"downward-api-"
+
string
(
uuid
.
NewUUID
())
env
:=
[]
api
.
EnvVar
{
env
:=
[]
api
.
EnvVar
{
{
{
...
...
test/test_owners.csv
View file @
db74d4db
...
@@ -86,7 +86,7 @@ Docker Containers should be able to override the image's default commmand (docke
...
@@ -86,7 +86,7 @@ Docker Containers should be able to override the image's default commmand (docke
Docker Containers should use the image defaults if command and args are blank,vishh,0
Docker Containers should use the image defaults if command and args are blank,vishh,0
Downward API should create a pod that prints his name and namespace,nhlfr,0
Downward API should create a pod that prints his name and namespace,nhlfr,0
Downward API should provide container's limits.cpu/memory and requests.cpu/memory as env vars,deads2k,1
Downward API should provide container's limits.cpu/memory and requests.cpu/memory as env vars,deads2k,1
Downward API should provide default limits.cpu/memory from node
capacity
,derekwaynecarr,0
Downward API should provide default limits.cpu/memory from node
allocatable
,derekwaynecarr,0
Downward API should provide pod IP as an env var,nhlfr,0
Downward API should provide pod IP as an env var,nhlfr,0
Downward API should provide pod name and namespace as env vars,nhlfr,0
Downward API should provide pod name and namespace as env vars,nhlfr,0
Downward API volume should provide container's cpu limit,smarterclayton,1
Downward API volume should provide container's cpu limit,smarterclayton,1
...
...
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