Skip to content

Instantly share code, notes, and snippets.

@a2chub
Last active October 2, 2019 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a2chub/6da2acb9fb47d8c5529e202b2b3c0944 to your computer and use it in GitHub Desktop.
Save a2chub/6da2acb9fb47d8c5529e202b2b3c0944 to your computer and use it in GitHub Desktop.
sudo apt install ssh
sudo apt install wget
sudo apt install vim
sudo apt install -y docker.io
sudo usermod -aG docker techlab
sudo swapoff -a
sudo apt update && sudo apt install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt update
sudo apt install -y kubelet kubeadm kubectl
sudo apt-mark hold kubelet kubeadm kubectl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment