Alex | f2f657e | 2021-06-14 19:44:05 -0500 | [diff] [blame^] | 1 | #!/bin/bash |
2 | cd /artifacts | ||||
3 | |||||
4 | # Configure kubernetes | ||||
5 | # Check and prepare kubespec file | ||||
6 | if [ ! -f /artifacts/kubespec_generated.yaml ]; then | ||||
7 | sudo bash /opt/res-files/k8s/rally-files/gen_kubespec.sh /artifacts/mos-kubeconf.yaml | ||||
8 | fi | ||||
9 | # Create kubernetes env | ||||
10 | rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml | ||||
11 | rally env check |