From ffeda074be896733db4ea5b3aa1712bcf00ae5a1 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Sun, 9 Apr 2017 09:47:30 -0400 Subject: [PATCH] Turn on a few flags Change-Id: If76bfd1277fa646f6e62d0ca5d9e2eafe610b2ae --- devstack/plugin.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 3d88304..e7630e7 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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