Skip to content

Instantly share code, notes, and snippets.

@rday
Last active May 27, 2016 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rday/f7b6e3b9d136c3b134f5c2a303af5fbd to your computer and use it in GitHub Desktop.
Save rday/f7b6e3b9d136c3b134f5c2a303af5fbd to your computer and use it in GitHub Desktop.
Bring up ubuntu cluster
#!/bin/sh
export KUBE_VERSION=1.2.4
export ETCD_VERSION=2.3.5
export nodes="vagrant@172.16.45.2"
export role="ai i i"
export NUM_NODES=1
# The range must match the Vagrant private network
export SERVICE_CLUSTER_IP_RANGE=172.16.45.0/24
# Can't overlap the service cluster range
export FLANNEL_NET=172.16.0.0/19
# Points to our static Vagrant IP
export DNS_SERVER_IP="172.16.45.2"
KUBERNETES_PROVIDER=ubuntu ./kube-up.sh
cd ubuntu/
KUBERNETES_PROVIDER=ubuntu ./deployAddons.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment