
This PS delivers the following changes: - adds values_overrides folders into utility binaries charts for flexible testing the charts and images; - values_overrides added to .helmignore files for every chart; - added munch python package into bionic images for compartibility with newer openstack client dependences; - improved Makefile clean section; - uses treasuremap v1.9 deploy-k8s.sh script to deploy test k8s cluster; - adds appropriate changes to deploy k8s script, setup apparmor; - porthole utility charts deployment script have been enriched with and ability to control additional values from values_overrides folders of each chart; - added env-variables.sh and get-values-overrides.sh to power up the changes describes in previous point; - removed deploy.sh script for clarity of actions in playbooks; - improved airship-porthole-gate-runner playbook; - removed install-deps playbook that was used to pre-setup zuul gate; - united make-unit-tests and make-feature-tests playbooks into one make-functional tests playbook; - helm version has been bumped up to 3.11.1; - improved helm_tk.sh script in order to solve issues with multiple charts build process; - bumped up version of stable helm-toolkit used for charts build; - airship-porthole-gate-runner playbook is now used as pre-run script for tox profiles gates and as main run playbook for functional tests gate; Change-Id: I202c573ff85ed2b80191057b537a65a5f5d4600e
Utility Containers
Utility containers give Operations staff an interface to an Airship environment that enables them to perform routine operations and troubleshooting activities. Utility containers support Airship environments without exposing secrets and credentials while at the same time restricting access to the actual containers.
Prerequisites
=======
Deploy OSH-AIO.
Deploy the Openstack-Helm All-in-One environment starting from
here
up through the section Deploy Compute Kit
The recommended minimum system requirements for a full deployment are:
- 16 GB RAM
- 8 Cores
- 48 GB HDD
=======
-
To run further commands from the CLI manually, execute the following to set up authentication credentials
export OS_CLOUD=openstack_helm
-
Clone the Porthole repo to openstack-helm project
git clone https://opendev.org/airship/porthole.git
To deploy utility pods
-
To Deploy Utility containers, Please run required scripts
cd porthole
-
Deploy
Calico-utility
. ./tools/deployment/utilities/005-calicoctl-utility.sh -
Deploy
Ceph-utility
../tools/deployment/utilities/010-ceph-utility.sh
-
Deploy
Compute-utility
../tools/deployment/utilities/020-compute-utility.sh
-
Deploy
Etcdctl-utility
../tools/deployment/utilities/030-etcdctl-utility.sh
-
Deploy
Mysqlclient-utility
../tools/deployment/utilities/040-Mysqlclient-utility.sh
-
Deploy
Openstack-utility
../tools/deployment/utilities/050-openstack-utility.sh
-
Deploy `Postgresql-utility'. ./tools/deployment/utilities/060-postgresql-utility.sh
NOTE
The PostgreSQL utility container needed Postgresql DB Pods for Testing. Please follow below Link.
[PostgreSQL README](https://opendev.org/airship/porthole/src/branch/master/images/postgresql-utility/README.md).