From a045105f5b1fa4d0e11ee283eb44d02d39766d66 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Sun, 8 Apr 2018 15:46:03 +0800 Subject: 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 Signed-off-by: Markos Chandras --- xci/playbooks/bootstrap-scenarios.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xci/playbooks') diff --git a/xci/playbooks/bootstrap-scenarios.yml b/xci/playbooks/bootstrap-scenarios.yml index c09d58a6..d1331252 100644 --- a/xci/playbooks/bootstrap-scenarios.yml +++ b/xci/playbooks/bootstrap-scenarios.yml @@ -37,3 +37,7 @@ include_role: name: "k8-flannel-nofeature" when: deploy_scenario == 'k8-flannel-nofeature' +- name: Prepare everything to run the k8-nosdn-nofeature scenario + include_role: + name: "k8-nosdn-nofeature" + when: deploy_scenario == 'k8-nosdn-nofeature' -- cgit 1.2.3-korg