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
6ae0eb88
Commit
6ae0eb88
authored
Sep 13, 2017
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug with gke in logdump
parent
991afb24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
log-dump.sh
cluster/log-dump/log-dump.sh
+3
-0
No files found.
cluster/log-dump/log-dump.sh
View file @
6ae0eb88
...
...
@@ -68,7 +68,10 @@ function setup() {
elif
[[
"
${
KUBERNETES_PROVIDER
}
"
==
"gke"
]]
;
then
echo
"Using 'use_custom_instance_list' with gke, skipping check for LOG_DUMP_SSH_KEY and LOG_DUMP_SSH_USER"
# Source the below script for the ssh-to-node utility function.
# Hack to save and restore the value of the ZONE env as the script overwrites it.
local
gke_zone
=
"
${
ZONE
:-}
"
source
"
${
KUBE_ROOT
}
/cluster/gce/util.sh"
ZONE
=
"
${
gke_zone
}
"
elif
[[
-z
"
${
LOG_DUMP_SSH_KEY
:-}
"
]]
;
then
echo
"LOG_DUMP_SSH_KEY not set, but required when using log_dump_custom_get_instances"
exit
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