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

Commit 7313cb5

Browse files
committed
quickstart: Compress binary when sending to nodes
The binary is ~80 MB. Enabling compression speeds up the quickstart for "typical" internet connections with << 100 Mbps.
1 parent 40a7f46 commit 7313cb5

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)