blob: 9c30e9d0e7009c020f249d1ebdda160b06ed0f51 [file] [log] [blame]
Alex627a5ca2021-03-19 09:37:59 -05001#!/bin/bash
2cd /artifacts
3# Installing prerequisites
4apt -y update
5apt -y install python3-pip vim git iperf3 mtr htop
6pip3 install rally-openstack python-neutronclient pyghmi
7
8# Prepare Rally
9rally db create
10
11# Create openstack env
12rally env create --from-sysenv --name openstack
13rally env check
14
15# Prepare rally for kubernetes
16bash res-files/k8s/gen_kubespec.sh ./mos-kubeconf.yaml
17git clone https://github.com/Mirantis/rally-plugins.git
18cd rally-plugins/
19pip3 install .
20rally plugin list | grep kubernetes
21
22# Configure kubernetes
23rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml
24rally env check
25cd /artifacts