Skip to content

Instantly share code, notes, and snippets.

@technosophos
Created December 15, 2015 21:20
Show Gist options
  • Save technosophos/02fbf60aecede08798af to your computer and use it in GitHub Desktop.
Save technosophos/02fbf60aecede08798af to your computer and use it in GitHub Desktop.
Setting up a Kube config file for vagrant
# KUBE_CONFIG_FILE=config-mpb.sh
EXTRA_DOCKER_OPTS="--insecure-registry 10.0.0.0/8 --insecure-registry 192.168.0.0/16"
# Flag to tell the kubelet to enable CFS quota support
ENABLE_CPU_CFS_QUOTA="${KUBE_ENABLE_CPU_CFS_QUOTA:-true}"
# Optional: Install cluster DNS.
ENABLE_CLUSTER_DNS="${KUBE_ENABLE_CLUSTER_DNS:-true}"
DNS_SERVER_IP="10.247.0.10"
DNS_DOMAIN="cluster.local"
DNS_REPLICAS=1
# Optional: Install Kubernetes UI
ENABLE_CLUSTER_UI="${KUBE_ENABLE_CLUSTER_UI:-true}"
# Optional: Enable setting flags for kube-apiserver to turn on behavior in active-dev
RUNTIME_CONFIG="api/v1=true,extensions/v1beta1/daemonsets=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment