add kubectl
This commit is contained in:
parent
377014b8df
commit
e83d04d8b4
|
@ -0,0 +1,3 @@
|
|||
if which kubectl 2>&1 > /dev/null ; then
|
||||
source <(kubectl completion bash)
|
||||
fi
|
|
@ -6,10 +6,14 @@ if which lsb_release; then
|
|||
apt-get update
|
||||
apt-get -y upgrade
|
||||
apt-get -y install $(cat $(lsb_release -i -s)-$(lsb_release -r -s)-packages.txt)
|
||||
|
||||
# install kubectl
|
||||
snap install kubectl --classic
|
||||
fi
|
||||
|
||||
pip3 install --upgrade pip
|
||||
|
||||
# install docker-machine
|
||||
URLBASE="https://github.com/docker/machine/releases/download/v0.14.0"
|
||||
URL="$URLBASE/docker-machine-$(uname -s)-$(uname -m)"
|
||||
curl -L $URL > /usr/local/bin/docker-machine
|
||||
|
|
Loading…
Reference in New Issue