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
0085e220
Commit
0085e220
authored
Nov 16, 2017
by
Lantao Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename log-dump env to `LOG_DUMP_SYSTEMD_SERVICES`.
parent
a3bfe65d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
log-dump.sh
cluster/log-dump/log-dump.sh
+1
-1
util.go
test/e2e/framework/util.go
+1
-1
No files found.
cluster/log-dump/log-dump.sh
View file @
0085e220
...
...
@@ -50,7 +50,7 @@ readonly gce_logfiles="startupscript"
readonly
kern_logfile
=
"kern"
readonly
initd_logfiles
=
"docker"
readonly
supervisord_logfiles
=
"kubelet supervisor/supervisord supervisor/kubelet-stdout supervisor/kubelet-stderr supervisor/docker-stdout supervisor/docker-stderr"
readonly
systemd_services
=
"kubelet
${
SYSTEMD_SERVICES
:-
docker
}
"
readonly
systemd_services
=
"kubelet
${
LOG_DUMP_
SYSTEMD_SERVICES
:-
docker
}
"
# Limit the number of concurrent node connections so that we don't run out of
# file descriptors for large clusters.
...
...
test/e2e/framework/util.go
View file @
0085e220
...
...
@@ -4573,7 +4573,7 @@ func CoreDump(dir string) {
Logf
(
"Dumping logs locally to: %s"
,
dir
)
cmd
=
exec
.
Command
(
path
.
Join
(
TestContext
.
RepoRoot
,
"cluster"
,
"log-dump"
,
"log-dump.sh"
),
dir
)
}
cmd
.
Env
=
append
(
os
.
Environ
(),
fmt
.
Sprintf
(
"SYSTEMD_SERVICES=%s"
,
parseSystemdServices
(
TestContext
.
SystemdServices
)))
cmd
.
Env
=
append
(
os
.
Environ
(),
fmt
.
Sprintf
(
"
LOG_DUMP_
SYSTEMD_SERVICES=%s"
,
parseSystemdServices
(
TestContext
.
SystemdServices
)))
cmd
.
Stdout
=
os
.
Stdout
cmd
.
Stderr
=
os
.
Stderr
if
err
:=
cmd
.
Run
();
err
!=
nil
{
...
...
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