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
0f97ebd9
Commit
0f97ebd9
authored
Nov 07, 2014
by
bgrant0607
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2248 from jbeda/kubectl-on-master
Install client binaries on master
parents
b4c23f82
a8395998
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletion
+26
-1
common.sh
build/common.sh
+12
-1
kube-client-tools.sls
cluster/saltbase/salt/kube-client-tools.sls
+13
-0
top.sls
cluster/saltbase/salt/top.sls
+1
-0
No files found.
build/common.sh
View file @
0f97ebd9
...
...
@@ -515,6 +515,10 @@ function kube::release::package_server_tarballs() {
cp
"
${
KUBE_SERVER_BINARIES
[@]/#/
${
LOCAL_OUTPUT_BINPATH
}
/
${
platform
}
/
}
"
\
"
${
release_stage
}
/server/bin/"
# Include the client binaries here too as they are useful debugging tools.
cp
"
${
KUBE_CLIENT_BINARIES
[@]/#/
${
LOCAL_OUTPUT_BINPATH
}
/
${
platform
}
/
}
"
\
"
${
release_stage
}
/server/bin/"
local
package_name
=
"
${
RELEASE_DIR
}
/kubernetes-server-
${
platform_tag
}
.tar.gz"
kube::release::create_tarball
"
${
package_name
}
"
"
${
release_stage
}
/.."
done
...
...
@@ -547,7 +551,14 @@ function kube::release::package_full_tarball() {
rm
-rf
"
${
release_stage
}
"
mkdir
-p
"
${
release_stage
}
"
cp
-R
"
${
LOCAL_OUTPUT_BINPATH
}
"
"
${
release_stage
}
/platforms"
# Copy all of the client binaries in here, but not test or server binaries.
# The server binaries are included with the server binary tarball.
local
platform
for
platform
in
"
${
KUBE_CLIENT_PLATFORMS
[@]
}
"
;
do
mkdir
-p
"
${
release_stage
}
/platforms/
${
platform
}
"
cp
"
${
KUBE_CLIENT_BINARIES
[@]/#/
${
LOCAL_OUTPUT_BINPATH
}
/
${
platform
}
/
}
"
\
"
${
release_stage
}
/platforms/
${
platform
}
"
done
# We want everything in /cluster except saltbase. That is only needed on the
# server.
...
...
cluster/saltbase/salt/kube-client-tools.sls
0 → 100644
View file @
0f97ebd9
/usr/local/bin/kubecfg:
file.managed:
- source: salt://kube-bins/kubecfg
- user: root
- group: root
- mode: 755
/usr/local/bin/kubectl:
file.managed:
- source: salt://kube-bins/kubectl
- user: root
- group: root
- mode: 755
cluster/saltbase/salt/top.sls
View file @
0f97ebd9
...
...
@@ -31,6 +31,7 @@ base:
- controller-manager
- scheduler
- nginx
- kube-client-tools
- logrotate
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
- openvpn
...
...
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