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
8a4a0983
Commit
8a4a0983
authored
Jul 07, 2015
by
Marek Biskup
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10759 from gmarek/max_pods_e2e
Add additional loging to max_pods e2e test
parents
c6ca1deb
46093523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
max_pods.go
test/e2e/max_pods.go
+7
-0
No files found.
test/e2e/max_pods.go
View file @
8a4a0983
...
...
@@ -100,6 +100,13 @@ var _ = Describe("MaxPods", func() {
By
(
fmt
.
Sprintf
(
"Starting additional %v Pods to fully saturate the cluster and trying to start a new one"
,
podsNeededForSaturation
))
expectNoError
(
RunRC
(
config
))
// Log the amount of pods running in the cluster.
// TODO: remove when test is fixed.
pods
,
err
=
c
.
Pods
(
api
.
NamespaceAll
)
.
List
(
labels
.
Everything
(),
fields
.
Set
{
"status.phase"
:
"Running"
,
}
.
AsSelector
())
Logf
(
"Observed %v running Pods. Need %v to fully saturate the cluster."
,
len
(
pods
.
Items
),
totalPodCapacity
)
_
,
err
=
c
.
Pods
(
ns
)
.
Create
(
&
api
.
Pod
{
TypeMeta
:
api
.
TypeMeta
{
Kind
:
"Pod"
,
...
...
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