
Recently we updated our test jobs so that all of them use the `deploy-env` Ansible role which utilizes the Kubeadm to deploy the test Kubernetes cluster. The role works for both multi-node and single-node environments. Although the deployment of Kubernetes itself is out of scope of Openstack-Helm, we recommen using this role to deploy test and development Kubernetes clusters. So at the moment there is no need to provide different sets of tools single-node and multi-node test envs. Now this is a matter of the Ansible inventory file. Also the deployment procedure of OpenStack on top of Kubernetes using Helm is the same for multi-node and single-node clusters because it only relies on the Kubernetes API. We will be improving the `deploy-env` role even futher and we will be cleaning up the deployment scripts and the documentation so to provide a clear experience for the Openstack-Helm users. Change-Id: I70236c4a2b870b52d2b01f65b1ef9b9518646964
35 lines
1.1 KiB
ReStructuredText
35 lines
1.1 KiB
ReStructuredText
Before deployment
|
|
=================
|
|
|
|
Before proceeding with the steps outlined in the following
|
|
sections and executing the actions detailed therein, it is
|
|
imperative that you clone the essential Git repositories
|
|
containing all the required Helm charts, deployment scripts,
|
|
and Ansible roles. This preliminary step will ensure that
|
|
you have access to the necessary assets for a seamless
|
|
deployment process.
|
|
|
|
.. code-block:: bash
|
|
|
|
mkdir ~/osh
|
|
cd ~/osh
|
|
git clone https://opendev.org/openstack/openstack-helm.git
|
|
git clone https://opendev.org/openstack/openstack-helm-infra.git
|
|
|
|
|
|
All further steps assume these two repositories are cloned into the
|
|
`~/osh` directory.
|
|
|
|
Also before deploying the OpenStack cluster you have to specify the
|
|
OpenStack and the operating system version that you would like to use
|
|
for deployment. For doing this export the following environment variables
|
|
|
|
.. code-block:: bash
|
|
|
|
export OPENSTACK_RELEASE=2023.2
|
|
export CONTAINER_DISTRO_NAME=ubuntu
|
|
export CONTAINER_DISTRO_VERSION=jammy
|
|
|
|
.. note::
|
|
The list of supported versions can be found :doc:`here </readme>`.
|