Skip to content

Instantly share code, notes, and snippets.

@ahopkins
Forked from alexellis/configure.sh
Created February 19, 2018 07:33
Show Gist options
  • Save ahopkins/e978e960fb7824cf664daca4ae91af90 to your computer and use it in GitHub Desktop.
Save ahopkins/e978e960fb7824cf664daca4ae91af90 to your computer and use it in GitHub Desktop.
Kubernetes-weave-ubuntu.sh
#!/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