Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
apt-get update
apt-get install -y apt-transport-https
curl -s | apt-key add -
curl -fsSL | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb kubernetes-xenial main
deb [arch=amd64] bionic stable
apt-get update
apt-get install -y
systemctl stop docker
modprobe overlay
echo '{"storage-driver": "overlay2"}' > /etc/docker/daemon.json
rm -rf /var/lib/docker/*
systemctl start docker
# Install kubernetes components!
apt-get install -y \
kubelet \
kubeadm \
Copy link

thank you sir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment