diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-01-08 17:17:17 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-01-31 17:15:50 +0800 |
commit | b1b71ac7132ff5ccebcfac8ca2bb2f7540025b13 (patch) | |
tree | 7306b59b309d9797849a515f754071a0bc526897 /xci/installer/kubespray/files/ha/inventory/group_vars/all.yml | |
parent | 862219cb61d57598029fc3dfe21923ccd00df257 (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 'xci/installer/kubespray/files/ha/inventory/group_vars/all.yml')
-rw-r--r-- | xci/installer/kubespray/files/ha/inventory/group_vars/all.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xci/installer/kubespray/files/ha/inventory/group_vars/all.yml b/xci/installer/kubespray/files/ha/inventory/group_vars/all.yml new file mode 100644 index 00000000..d1b946a7 --- /dev/null +++ b/xci/installer/kubespray/files/ha/inventory/group_vars/all.yml @@ -0,0 +1,8 @@ +--- +loadbalancer_apiserver: + address: 192.168.122.222 + port: 8383 + +apiserver_loadbalancer_domain_name: 192.168.122.222 +supplementary_addresses_in_ssl_keys: + - 192.168.122.222 |