mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 01:38:58 +03:00
VTWO-14496 : rework the doc and generate the root CA
This commit is contained in:
18
scripts/download_kubernetes_worker_components
Executable file
18
scripts/download_kubernetes_worker_components
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user