This document describes how to install SODA Multi-cloud project on a pre-configured Kubernetes cluster. These steps will help you to install / uninstall Multi-Cloud project in HA mode. After installation using these steps, SODA Multi-Cloud Services will be available in HA mode. You can test either through SODA Dashboard UI. For installing SODA in default standalone configuration please refer to the standalone installation guide
All the installation work is tested on
Ubuntu 16.04 and
Ubuntu 18.04, please make sure you have installed the right one. Also
root user is REQUIRED before the installation work starts.
The following configurations are required on the Kubernetes Cluster and the SODA installer node.
Please follow the standalone installation guide for the remaining installation steps. Here are the steps that are specific to the HA installation of Multi-Cloud Services on Kubernetes Cluster.
All the other configurations remain same as the standalone installation. The few additional steps required to install Multi-Cloud in HA mode are as follows…
As a root user
git clone https://github.com/sodafoundation/installer.git cd installer/ansible # Checkout the required version. For example, to checkout v1.3.0 follow git checkout v1.3.0
Checkout the latest stable release. Current stable release: stable/isabela. If you want to get the master branch of all components, you can skip this step. (Master may not be stable or tested fully)
Open the common.yml file
gelato_ha: trueto install Multi-Cloud services in HA mode.
Open the gelato-ha.yml file
Open the local.hosts file in the <installer/ansible> dir.
master ansible_port=22 ansible_user=root ansible_host=192.168.xx.yyThe above line is commented out in the file
installer/ansible/local.hosts. Please un-comment it and replace the ansible_host with the correct IP address.
Execute the ansible-playbook command as follows, to start the deploy:
ansible-playbook site.yml -i local.hosts # You can use the -vvv or -vv option to enable verbose display and debug mode. [verbosity level: -vv < -vvv] ansible-playbook site.yml -i local.hosts -vvv
Here is a block diagram showing the deployment of SODA multi-cloud services in HA mode.
The namespace ‘soda-multi-cloud’ is used to deploy the services in the Kubernetes cluster.
After deploying check the pods, deployments and services deployed in the Kubernetes Cluster.
Use the command
kubectl get pods -n soda-multi-cloud to get a list of all the pods deployed on the Kubernetes Cluster. For more kubectl commands please refer to https://kubernetes.io/docs/reference/kubectl/