Last active
September 13, 2016 13:54
-
-
Save kingspp/e2626fa475fdff6d39e7983d96259070 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo apt-get install -y linux-image-extra-`uname -r` | |
sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-get update | |
sudo apt-get -y install docker-engine | |
sudo sed -i.bak 's/.*DEFAULT_FORWARD_POLICY=.*/DEFAULT_FORWARD_POLICY="ACCEPT"/' VagrantFile >/dev/null 2>&1 | |
sudo ufw reload |
This file contains hidden or 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
#git clone --depth 1 https://github.com/kubernetes/kubernetes.git | |
export KUBE_VERSION=1.2.0 | |
export FLANNEL_VERSION=0.5.0 | |
export ETCD_VERSION=2.2.0 | |
export nodes="[email protected] [email protected] [email protected]" | |
export roles="ai i i" | |
export NUM_NODES=${NUM_NODES:-3} | |
export SERVICE_CLUSTER_IP_RANGE=192.168.3.0/24 | |
export FLANNEL_NET=172.16.0.0/16 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment