MAIA_Install script#

Script to install MAIA on a Kubernetes cluster. This script: 1. Installs the MAIA Ansible collection 2. Runs MAIA_Configure_Installation.sh to configure the installation 3. Executes the MAIA installation playbooks in sequence

usage: MAIA_Install [-h] --config-folder CONFIG_FOLDER
                    [--ansible-collection-path ANSIBLE_COLLECTION_PATH]
                    [--inventory-path INVENTORY_PATH] [--skip-configure]
                    [--configure-local-host] [--configure-no-prompt]
                    [--steps STEPS [STEPS ...]] [--upgrade-maia-core]
                    [--upgrade-maia-admin] [--upgrade-maia-dashboard]
                    [--auto-sync] [-v]

Named Arguments#

--config-folder

Configuration folder where MAIA configuration files will be stored.

--ansible-collection-path

Path to the MAIA Ansible collection directory. Default: git+https://github.com/minnelab/MAIA.git#/ansible/MAIA/Installation

Default: “git+https://github.com/minnelab/MAIA.git#/ansible/MAIA/Installation”

--inventory-path

Path where the inventory file will be created. If not provided, defaults to <config-folder>/inventory

--skip-configure

Skip running MAIA_Configure_Installation.sh. Use this if configuration is already done.

Default: False

--configure-local-host

Configure the local host with the subdomain and IP address for self-signed certificates.

Default: False

--configure-no-prompt

Run MAIA_Configure_Installation.sh without prompts (requires env.json to exist).

Default: False

--steps

Steps to run. Default: None. If provided, only the specified steps will be run, overriding the steps in the config.yaml file.

--upgrade-maia-core

Upgrade MAIA core. Default: False. If provided, the MAIA core will be upgraded.

Default: False

--upgrade-maia-admin

Upgrade MAIA admin. Default: False. If provided, the MAIA admin will be upgraded.

Default: False

--upgrade-maia-dashboard

Upgrade MAIA dashboard. Default: False. If provided, the MAIA dashboard will be upgraded.

Default: False

--auto-sync

Auto sync. Default: False. If provided, the auto sync will be enabled.

Default: False

-v, --version

show program’s version number and exit

Example call:

MAIA_Install --config-folder /path/to/config