Skip to content

Instantly share code, notes, and snippets.

Created December 6, 2019 21:59
What would you like to do?
curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] \
$(lsb_release -cs) \
curl -s | sudo apt-key add -
cat << EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list
deb kubernetes-xenial main
sudo apt-get update
sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu kubelet=1.13.5-00 kubeadm=1.13.5-00 kubectl=1.13.5-00
sudo apt-mark hold docker-ce kubelet kubeadm kubectl
echo "net.bridge.bridge-nf-call-iptables=1" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment