kubernetes: Use ijc25/alpine-ssh for ssh_into_kubelet.sh

Much smaller than the CentOS based one.

Note that ijc25/alpine-ssh has entrypoint==ssh.

Drop Compression=yes, this is used for local ssh so no point compressing (just uses CPU).

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell 2017-07-24 14:14:41 +01:00
parent 1dbec1ef30
commit 9f04b403e4

View File

@ -1,7 +1,7 @@
#!/bin/bash -eux #!/bin/bash -eux
ssh="docker run --rm -ti \ ssh="docker run --rm -ti \
-v $HOME/.ssh/:/root/.ssh \ -v $HOME/.ssh/:/root/.ssh \
jdeathe/centos-ssh \ ijc25/alpine-ssh \
-o LogLevel=FATAL \ -o LogLevel=FATAL \
-o StrictHostKeyChecking=no \ -o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \ -o UserKnownHostsFile=/dev/null \