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
5a9f4666
Commit
5a9f4666
authored
Apr 17, 2018
by
Lantao Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NPD preload.
parent
4c7141ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
configure.sh
cluster/gce/gci/configure.sh
+2
-2
No files found.
cluster/gce/gci/configure.sh
View file @
5a9f4666
...
@@ -175,15 +175,15 @@ function install-node-problem-detector {
...
@@ -175,15 +175,15 @@ function install-node-problem-detector {
local
-r
npd_version
=
"
${
DEFAULT_NPD_VERSION
}
"
local
-r
npd_version
=
"
${
DEFAULT_NPD_VERSION
}
"
local
-r
npd_sha1
=
"
${
DEFAULT_NPD_SHA1
}
"
local
-r
npd_sha1
=
"
${
DEFAULT_NPD_SHA1
}
"
fi
fi
local
-r
npd_tar
=
"node-problem-detector-
${
npd_version
}
.tar.gz"
if
is-preloaded
"
node-problem-detector
"
"
${
npd_sha1
}
"
;
then
if
is-preloaded
"
${
npd_tar
}
"
"
${
npd_sha1
}
"
;
then
echo
"node-problem-detector is preloaded."
echo
"node-problem-detector is preloaded."
return
return
fi
fi
echo
"Downloading node problem detector."
echo
"Downloading node problem detector."
local
-r
npd_release_path
=
"https://storage.googleapis.com/kubernetes-release"
local
-r
npd_release_path
=
"https://storage.googleapis.com/kubernetes-release"
local
-r
npd_tar
=
"node-problem-detector-
${
npd_version
}
.tar.gz"
download-or-bust
"
${
npd_sha1
}
"
"
${
npd_release_path
}
/node-problem-detector/
${
npd_tar
}
"
download-or-bust
"
${
npd_sha1
}
"
"
${
npd_release_path
}
/node-problem-detector/
${
npd_tar
}
"
local
-r
npd_dir
=
"
${
KUBE_HOME
}
/node-problem-detector"
local
-r
npd_dir
=
"
${
KUBE_HOME
}
/node-problem-detector"
mkdir
-p
"
${
npd_dir
}
"
mkdir
-p
"
${
npd_dir
}
"
...
...
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