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
bf33e2ac
Commit
bf33e2ac
authored
Jul 22, 2017
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in cluster/log-dump and add OWNERS file
parent
ae1ff1a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
log-dump.sh
cluster/log-dump/log-dump.sh
+2
-1
No files found.
cluster/log-dump/log-dump.sh
View file @
bf33e2ac
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
# Call this to dump all master and node logs into the folder specified in $1
# Call this to dump all master and node logs into the folder specified in $1
# (defaults to _artifacts). Only works if the provider supports SSH.
# (defaults to _artifacts). Only works if the provider supports SSH.
# TODO(shyamjvs): This script should be moved to test/e2e which is where it ideally belongs.
set
-o
errexit
set
-o
errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
...
@@ -282,7 +283,7 @@ function dump_nodes_with_logexporter() {
...
@@ -282,7 +283,7 @@ function dump_nodes_with_logexporter() {
sed
-i
''
-e
"s@{{.EnableHollowNodeLogs}}@
${
enable_hollow_node_logs
}
@g"
"
${
KUBE_ROOT
}
/cluster/log-dump/logexporter-daemonset.yaml"
sed
-i
''
-e
"s@{{.EnableHollowNodeLogs}}@
${
enable_hollow_node_logs
}
@g"
"
${
KUBE_ROOT
}
/cluster/log-dump/logexporter-daemonset.yaml"
# Create the logexporter namespace, service-account secret and the logexporter daemonset within that namespace.
# Create the logexporter namespace, service-account secret and the logexporter daemonset within that namespace.
KUBECTL
=
"
${
KUBE
CTL
:-${
KUBE_ROOT
}
/cluster/kubectl.sh
}
"
KUBECTL
=
"
${
KUBE
_ROOT
}
/cluster/kubectl.sh
"
"
${
KUBECTL
}
"
create
-f
"
${
KUBE_ROOT
}
/cluster/log-dump/logexporter-daemonset.yaml"
"
${
KUBECTL
}
"
create
-f
"
${
KUBE_ROOT
}
/cluster/log-dump/logexporter-daemonset.yaml"
# Give some time for the pods to finish uploading logs.
# Give some time for the pods to finish uploading logs.
...
...
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