summaryrefslogtreecommitdiffstats
path: root/xci/installer/kubespray
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-10-08 18:14:06 +0200
committerManuel Buil <mbuil@suse.com>2018-10-12 22:34:45 +0200
commit3c4f0f674393efc212434f8a3cb2820badeb0390 (patch)
treeb9590eb74b6f15d5fc8d8c5ef76685fa69b20de3 /xci/installer/kubespray
parentdd7fb5f6ac6dc11027f3d916deaa86504f489197 (diff)
Fix idf for k8s
deploy-scenario:k8-calico-nofeature installer-type:kubespray Change-Id: If1c9f5908f39f9c09efb86e27a3f3883b4cd75b9 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'xci/installer/kubespray')
-rwxr-xr-xxci/installer/kubespray/deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/xci/installer/kubespray/deploy.sh b/xci/installer/kubespray/deploy.sh
index 98b1dcdb..48ef7456 100755
--- a/xci/installer/kubespray/deploy.sh
+++ b/xci/installer/kubespray/deploy.sh
@@ -69,14 +69,17 @@ if [ $XCI_FLAVOR != "aio" ]; then
echo "Info: Configured target hosts for kubespray"
fi
+
echo "Info: Using kubespray to deploy the kubernetes cluster"
echo "-----------------------------------------------------------------------"
ssh root@$OPNFV_HOST_IP "set -o pipefail; export XCI_FLAVOR=$XCI_FLAVOR; export INSTALLER_TYPE=$INSTALLER_TYPE; \
+ export IDF=/root/releng-xci/xci/var/idf.yml; export PDF=/root/releng-xci/xci/var/pdf.yml; \
cd releng-xci/.cache/repos/kubespray/; ansible-playbook \
-i opnfv_inventory/dynamic_inventory.py cluster.yml -b | tee setup-kubernetes.log"
scp root@$OPNFV_HOST_IP:~/releng-xci/.cache/repos/kubespray/setup-kubernetes.log \
$LOG_PATH/setup-kubernetes.log
+
cd $K8_XCI_PLAYBOOKS
ansible-playbook ${XCI_ANSIBLE_PARAMS} \
-i ${XCI_PLAYBOOKS}/dynamic_inventory.py configure-kubenet.yml