Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 5e6f059

Browse files
author
Yifan Gu
authored
Merge pull request #558 from kamalmarhubi/quickstart/compress-bootkube
quickstart: Compress binary when sending to nodes
2 parents 9f5b2b5 + 7313cb5 commit 5e6f059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/quickstart/init-master.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if [ "${REMOTE_HOST}" != "local" ]; then
9797
ssh -i ${IDENT} -p ${REMOTE_PORT} ${SSH_OPTS} ${REMOTE_USER}@${REMOTE_HOST} "sudo mv /home/${REMOTE_USER}/kubelet.master /etc/systemd/system/kubelet.service"
9898

9999
# Copy bootkube binary to remote host.
100-
scp -i ${IDENT} -P ${REMOTE_PORT} ${SSH_OPTS} ../../_output/bin/linux/bootkube ${REMOTE_USER}@${REMOTE_HOST}:/home/${REMOTE_USER}/bootkube
100+
scp -i ${IDENT} -P ${REMOTE_PORT} -C ${SSH_OPTS} ../../_output/bin/linux/bootkube ${REMOTE_USER}@${REMOTE_HOST}:/home/${REMOTE_USER}/bootkube
101101

102102
# Copy self to remote host so script can be executed in "local" mode
103103
scp -i ${IDENT} -P ${REMOTE_PORT} ${SSH_OPTS} ${BASH_SOURCE[0]} ${REMOTE_USER}@${REMOTE_HOST}:/home/${REMOTE_USER}/init-master.sh

0 commit comments

Comments
 (0)