xci: Add k8-nosdn-nofeature role 17/55317/17
authorwutianwei <wutianwei1@huawei.com>
Sun, 8 Apr 2018 07:46:03 +0000 (15:46 +0800)
committerMarkos Chandras <mchandras@suse.de>
Mon, 16 Apr 2018 09:11:00 +0000 (10:11 +0100)
commita045105f5b1fa4d0e11ee283eb44d02d39766d66
treeb014ac67a8a7b2e6cb29b552aca2934ba07672cc
parent4cac3ade71730cf08d3e80f8ae90297f264d26ca
xci: Add k8-nosdn-nofeature role

Move default k8s-cluster.yml from kubespray/files/ to
role/k8-nosdn-nofeature/files/k8s-cluster.yml since it's scenario
specific. Moreover, we set 'cloud' as kube_network_plugin, which would
use kubnet as network plugin. The kubenet network plugin requires
routing between to be setup by the administrator so we need to add
static routes on every host since they are connected using a bridge
instead of a router.

installer-type:kubespray
deploy-scenario:k8-nosdn-nofeature

Change-Id: I6ab7288c966d7f17e9d61279056f7673be37bebe
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/installer/kubespray/deploy.sh
xci/installer/kubespray/playbooks/configure-kubenet.yml [new file with mode: 0644]
xci/installer/kubespray/playbooks/configure-opnfvhost.yml
xci/playbooks/bootstrap-scenarios.yml
xci/scenarios/k8-nosdn-nofeature/role/k8-nosdn-nofeature/files/k8s-cluster.yml [moved from xci/installer/kubespray/files/k8s-cluster.yml with 99% similarity]
xci/scenarios/k8-nosdn-nofeature/role/k8-nosdn-nofeature/tasks/main.yml [new file with mode: 0644]