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
a6b91a41
Commit
a6b91a41
authored
Jun 23, 2016
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e_node: lower the log verbosity level
The current level is so high that the logs are almost unreadable.
parent
3a29aa79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
e2e_service.go
test/e2e_node/e2e_service.go
+7
-2
No files found.
test/e2e_node/e2e_service.go
View file @
a6b91a41
...
@@ -52,6 +52,11 @@ type logFileData struct {
...
@@ -52,6 +52,11 @@ type logFileData struct {
journalctlCommand
[]
string
journalctlCommand
[]
string
}
}
const
(
// This is consistent with the level used in a cluster e2e test.
LOG_VERBOSITY_LEVEL
=
"4"
)
func
newE2eService
(
nodeName
string
)
*
e2eService
{
func
newE2eService
(
nodeName
string
)
*
e2eService
{
// Special log files that need to be collected for additional debugging.
// Special log files that need to be collected for additional debugging.
var
logFiles
=
map
[
string
]
logFileData
{
var
logFiles
=
map
[
string
]
logFileData
{
...
@@ -194,7 +199,7 @@ func (es *e2eService) startApiServer() (*killCmd, error) {
...
@@ -194,7 +199,7 @@ func (es *e2eService) startApiServer() (*killCmd, error) {
"--service-cluster-ip-range"
,
"10.0.0.1/24"
,
"--service-cluster-ip-range"
,
"10.0.0.1/24"
,
"--kubelet-port"
,
"10250"
,
"--kubelet-port"
,
"10250"
,
"--allow-privileged"
,
"true"
,
"--allow-privileged"
,
"true"
,
"--v"
,
"8"
,
"--logtostderr"
,
"--v"
,
LOG_VERBOSITY_LEVEL
,
"--logtostderr"
,
)
)
hcc
:=
newHealthCheckCommand
(
hcc
:=
newHealthCheckCommand
(
"http://127.0.0.1:8080/healthz"
,
"http://127.0.0.1:8080/healthz"
,
...
@@ -235,7 +240,7 @@ func (es *e2eService) startKubeletServer() (*killCmd, error) {
...
@@ -235,7 +240,7 @@ func (es *e2eService) startKubeletServer() (*killCmd, error) {
"--serialize-image-pulls"
,
"false"
,
"--serialize-image-pulls"
,
"false"
,
"--config"
,
es
.
kubeletStaticPodDir
,
"--config"
,
es
.
kubeletStaticPodDir
,
"--file-check-frequency"
,
"10s"
,
// Check file frequently so tests won't wait too long
"--file-check-frequency"
,
"10s"
,
// Check file frequently so tests won't wait too long
"--v"
,
"8"
,
"--logtostderr"
,
"--v"
,
LOG_VERBOSITY_LEVEL
,
"--logtostderr"
,
)
)
cmd
:=
exec
.
Command
(
"sudo"
,
cmdArgs
...
)
cmd
:=
exec
.
Command
(
"sudo"
,
cmdArgs
...
)
hcc
:=
newHealthCheckCommand
(
hcc
:=
newHealthCheckCommand
(
...
...
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