rvasilev
9/23/2018 - 9:39 AM

Kubernetes-weave-ubuntu.sh

Kubernetes-weave-ubuntu.sh

#!/bin/bash
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get dist-upgrade -y
apt-get install -y docker.io
apt-get install -y kubelet kubeadm kubectl kubernetes-cni