diff options
author | Zenghui Shi <zshi@redhat.com> | 2018-04-04 11:24:40 +0800 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2018-07-06 16:13:06 -0400 |
commit | 10c4d35315d7ffd909520a1c7bc6a3b5b9b871ab (patch) | |
tree | e7ab984038098b931d82527f52d2a85a35fdd780 /apex/overcloud | |
parent | ae22c3358b53a68b68de7d3ac5d6f56a1c384b61 (diff) |
Add support for kubernetes deployment
This patch adds capability to deploy kubernetes cluster instead of openstack.
Kubernetes will be deployed using kubespray and is run after TripleO bookstraps
overcloud nodes.
JIRA: APEX-574
Change-Id: If9c171620c933a052b719e7112a50e22bbab667f
Signed-off-by: Feng Pan <fpan@redhat.com>
Signed-off-by: Zenghui Shi <zshi@redhat.com>
Diffstat (limited to 'apex/overcloud')
-rw-r--r-- | apex/overcloud/deploy.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apex/overcloud/deploy.py b/apex/overcloud/deploy.py index 2f33183c..92b42fff 100644 --- a/apex/overcloud/deploy.py +++ b/apex/overcloud/deploy.py @@ -204,6 +204,11 @@ def create_deploy_cmd(ds, ns, inv, tmp_dir, if ds_opts['sriov']: prep_sriov_env(ds, tmp_dir) + # Check for 'k8s' here intentionally, as we may support other values + # such as openstack/openshift for 'vim' option. + if ds_opts['vim'] == 'k8s': + deploy_options.append('kubernetes-environment.yaml') + if virtual: deploy_options.append('virtual-environment.yaml') else: |