Turn on a few flags

Change-Id: If76bfd1277fa646f6e62d0ca5d9e2eafe610b2ae
This commit is contained in:
Davanum Srinivas 2017-04-09 09:47:30 -04:00
parent 19c4d1ed7d
commit ffeda074be
1 changed files with 8 additions and 8 deletions

View File

@ -91,14 +91,14 @@ function install_k8s_cloud_provider {
sudo touch $LOG_DIR/kubelet.log;sudo ln -s $LOG_DIR/kubelet.log $LOG_DIR/screen-kubelet.log
# Turn on a few things in local-up-cluster.sh
#export ALLOW_PRIVILEGED=true
#export ALLOW_SECURITY_CONTEXT=true
#export ALLOW_ANY_TOKEN=true
#export ENABLE_HOSTPATH_PROVISIONER=true
#export SERVICE_CLUSTER_IP_RANGE=10.1.0.0/24
#export FIRST_SERVICE_CLUSTER_IP=10.1.0.1
#export API_HOST_IP=${HOST_IP:-"127.0.0.1"}
#export KUBELET_HOST=${HOST_IP:-"127.0.0.1"}
export ALLOW_PRIVILEGED=true
export ALLOW_SECURITY_CONTEXT=true
export ALLOW_ANY_TOKEN=true
export ENABLE_HOSTPATH_PROVISIONER=true
export SERVICE_CLUSTER_IP_RANGE=10.1.0.0/24
export FIRST_SERVICE_CLUSTER_IP=10.1.0.1
export API_HOST_IP=${HOST_IP:-"127.0.0.1"}
export KUBELET_HOST=${HOST_IP:-"127.0.0.1"}
run_process kubernetes "sudo -E PATH=$PATH hack/local-up-cluster.sh"
popd >/dev/null