-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.sh
34 lines (26 loc) · 1.48 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Apiserver host name used by the kubeconfig for the kubectl
APISERVER_ADDRESS=${APISERVER_ADDRESS:-localhost}
# Path to directory on the host to use as the root for multiple docker volumes.
# ${DOCKER_IN_DOCKER_WORK_DIR}/log - storage of component logs (written on deploy failure)
# ${DOCKER_IN_DOCKER_WORK_DIR}/auth - storage of SSL certs/keys/tokens
# If using docker-machine or boot2docker, should be under /Users (which is mounted from the host into the docker vm).
# If running in a container, $HOME should be resolved outside of the container.
DOCKER_IN_DOCKER_WORK_DIR="${DOCKER_IN_DOCKER_WORK_DIR:-${HOME}/tmp/kubernetes-dind}"
# Arguments to pass to docker-engine running on the kubernetes-dind containers.
DOCKER_DAEMON_ARGS="${DOCKER_DAEMON_ARGS:---log-level=error}"
# Skip rebuilding the involved docker containers on kube-up.sh.
DOCKER_IN_DOCKER_SKIP_BUILD="${DOCKER_IN_DOCKER_SKIP_BUILD:-false}"
# Optional: Deploy cluster web interface.
ENABLE_CLUSTER_UI="${ENABLE_CLUSTER_UI:-true}"
# Optional: Deploy cluster DNS.
ENABLE_CLUSTER_DNS="${ENABLE_CLUSTER_DNS:-true}"
DNS_SERVER_IP="${DNS_SERVER_IP:-10.0.0.10}"
DNS_DOMAIN="${DNS_DOMAIN:-cluster.local}"
DNS_REPLICAS="${DNS_REPLICAS:-1}"
# Timeout (in seconds) to wait for each addon to come up
DOCKER_IN_DOCKER_ADDON_TIMEOUT="${DOCKER_IN_DOCKER_ADDON_TIMEOUT:-180}"
# Apiserver service IP
APISERVER_SERVICE_IP="${APISERVER_SERVICE_IP:-10.0.0.1}"
SERVICE_CIDR="${SERVICE_CIDR:-${APISERVER_SERVICE_IP}/24}"
# Number of nodes
NUM_NODES=${NUM_NODES:-2}