Shell scripts to deploy and upgrade Kubernetes clusters on Ubuntu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
459 B

sudo apt-get update && sudo apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt-get update
sudo apt-get install -y kube{let,adm,ctl} docker.io
sudo apt-mark hold kube{let,adm,ctl,rnetes-cni}
sudo systemctl enable --now docker
sudo gpasswd -a ubuntu docker