This repository contains some automation scripts to assist with performance testing for some aspects of the community.okd collection, e.g., testing the benefits of Turbo mode on some k8s objects creation.
A set of roles and playbooks to provision and deprovision an Red Hat OpenShift Cluster on AWS can be found in this repository openshift-cluster-setup repository. See the openshift-cluster-setup README for further details.
- Prepare the environment
ansible-playbook prepare_env.yml
- Start the experiment
~/env/bin/ansible-playbook main.yml
Note: For testing the collections using Turbo mode you have to use the following command instead ENABLE_TURBO_MODE=1 ~/env/bin/ansible-playbook main.yml
Then the main.yml
playbook deploys the amount of Namespaces and ConfigMaps defined by obj_count
in config.yml
into the OpenShift cluster. At the end of the playbook, Ansible's ARA callback plugins report back the timings of all the tasks.
Results can be plotted with python plot/plot.py
.
This repository was created in 2021 by Alina Buzachis.