-
-
Save ahopkins/e978e960fb7824cf664daca4ae91af90 to your computer and use it in GitHub Desktop.
Kubernetes-weave-ubuntu.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get update \ | |
&& sudo apt-get install -qy docker.io | |
sudo apt-get update \ | |
&& sudo apt-get install -y apt-transport-https \ | |
&& curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" \ | |
| sudo tee -a /etc/apt/sources.list.d/kubernetes.list \ | |
&& sudo apt-get update | |
sudo apt-get update \ | |
&& sudo apt-get install -y \ | |
kubelet \ | |
kubeadm \ | |
kubernetes-cni | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment