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
ffeb01fd
Commit
ffeb01fd
authored
Oct 25, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Oct 25, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #35321 from vishh/gci-rkt
Automatic merge from submit-queue Adding rkt binary to GCI rkt is being used to support containerized storage plugins on GCI.
parents
0fdca3be
968e7ebe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
configure.sh
cluster/gce/gci/configure.sh
+12
-0
gci-init.yaml
test/e2e_node/jenkins/gci-init.yaml
+5
-0
No files found.
cluster/gce/gci/configure.sh
View file @
ffeb01fd
...
@@ -98,6 +98,15 @@ function split-commas {
...
@@ -98,6 +98,15 @@ function split-commas {
echo
$1
|
tr
","
"
\n
"
echo
$1
|
tr
","
"
\n
"
}
}
function
install-rkt
{
local
-r
rkt_binary
=
"rkt-v1.17.0"
local
-r
rkt_sha1
=
"e9183dcae0683e345cc73fef98ffd80a253d371a"
download-or-bust
"
${
rkt_sha1
}
"
"https://storage.googleapis.com/kubernetes-release/rkt/
${
rkt_binary
}
"
local
-r
rkt_dst
=
"
${
KUBE_HOME
}
/bin/rkt"
mv
"
${
KUBE_HOME
}
/
${
rkt_binary
}
"
"
${
rkt_dst
}
"
chmod
a+x
"
${
rkt_dst
}
"
}
# Downloads kubernetes binaries and kube-system manifest tarball, unpacks them,
# Downloads kubernetes binaries and kube-system manifest tarball, unpacks them,
# and places them into suitable directories. Files are placed in /home/kubernetes.
# and places them into suitable directories. Files are placed in /home/kubernetes.
function
install-kube-binary-config
{
function
install-kube-binary-config
{
...
@@ -175,6 +184,9 @@ function install-kube-binary-config {
...
@@ -175,6 +184,9 @@ function install-kube-binary-config {
cp
"
${
dst_dir
}
/kubernetes/gci-trusty/health-monitor.sh"
"
${
KUBE_HOME
}
/bin/health-monitor.sh"
cp
"
${
dst_dir
}
/kubernetes/gci-trusty/health-monitor.sh"
"
${
KUBE_HOME
}
/bin/health-monitor.sh"
chmod
-R
755
"
${
kube_bin
}
"
chmod
-R
755
"
${
kube_bin
}
"
# Install rkt binary to allow mounting storage volumes in GCI
install-rkt
# Clean up.
# Clean up.
rm
-rf
"
${
KUBE_HOME
}
/kubernetes"
rm
-rf
"
${
KUBE_HOME
}
/kubernetes"
rm
-f
"
${
KUBE_HOME
}
/
${
server_binary_tar
}
"
rm
-f
"
${
KUBE_HOME
}
/
${
server_binary_tar
}
"
...
...
test/e2e_node/jenkins/gci-init.yaml
View file @
ffeb01fd
...
@@ -3,3 +3,8 @@
...
@@ -3,3 +3,8 @@
runcmd
:
runcmd
:
-
mount /tmp /tmp -o remount,exec,suid
-
mount /tmp /tmp -o remount,exec,suid
-
usermod -a -G docker jenkins
-
usermod -a -G docker jenkins
-
mkdir -p /home/kubernetes/bin/
-
mount -B /home/kubernetes/bin /home/kubernetes/bin
-
mount -B -o remount,exec /home/kubernetes/bin
-
wget https://storage.googleapis.com/kubernetes-release/rkt/rkt-v1.17.0 -O /home/kubernetes/bin/rkt
-
chmod a+x /home/kubernetes/bin/rkt
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