19 lines
379 B
Plaintext
19 lines
379 B
Plaintext
![]() |
#!/usr/bin/env bash
|
||
|
K8S_RELEASE_VERSION=$1
|
||
|
|
||
|
pushd /tmp
|
||
|
|
||
|
container_id=$(docker create gcr.io/google-containers/hyperkube:$K8S_RELEASE_VERSION)
|
||
|
docker cp $container_id:/hyperkube
|
||
|
docker rm -f $container_id
|
||
|
|
||
|
chmod u+x hyperkube
|
||
|
cp hyperkube /usr/bin/kubelet
|
||
|
cp hyperkube /usr/bin/proxy
|
||
|
cp hyperkube /usr/bin/kubectl
|
||
|
rm hyperkube
|
||
|
|
||
![]() |
touch .download_kubernetes_worker_components
|
||
![]() |
|
||
|
popd
|