aboutsummaryrefslogtreecommitdiffstats
path: root/k8-nosdn-nofeature/role
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-01-08 17:17:17 +0800
committerwutianwei <wutianwei1@huawei.com>2018-01-31 17:15:50 +0800
commit56b5642d5c3330c9e72f223647310d5680c97e5f (patch)
tree0bad0ffce56dc86947d8844dfaef7f0ce11a3741 /k8-nosdn-nofeature/role
parent6dee51bd35ceffae9c94ab8f19650b732fd213a2 (diff)
deploy kubernetes in XCI
This commit introduces kubespray into XCI. k8s install currently assumes k8s install and OpenStack install cannot coexist. If XCI_INSTALLER is set to "kubespray" and DEPLOY_SCENARIO is set to "k8-nosdn-nofeature" the xci-deploy.sh would install kubernetes instead of OpenStack. The version of kubernetes is beta release v1.9.0 currently according to the master of kubespray it only support the ubuntu now. Opensuse and centos still need to develop and test. This patch create the directory xci/installer/kubespray, the related files of kubespray would be placed to it. The xci/installer/$installer/playbooks/configure-localhost.yml was moved to xci/playbooks/configure-localhost.yml as a common yaml file. You can modify some parameters according your need in xci/installer/kubespray/files/k8s-cluster.yml to deploy cluster. When deploying kubernetes, it would download the kubespray to releng-xci/.cache/repos/kubespray. If your flavor is Ha, it will download haproxy_server and keepalived to xci/playbook/roles, which setup haproxy service for kubernetes. Change-Id: I24d521a735d7ee85fbe5af8c4def65f37586b843 Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'k8-nosdn-nofeature/role')
-rw-r--r--k8-nosdn-nofeature/role/k8-nosdn-nofeature/tasks/.gitkeep0
1 files changed, 0 insertions, 0 deletions
diff --git a/k8-nosdn-nofeature/role/k8-nosdn-nofeature/tasks/.gitkeep b/k8-nosdn-nofeature/role/k8-nosdn-nofeature/tasks/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/k8-nosdn-nofeature/role/k8-nosdn-nofeature/tasks/.gitkeep