A general set of instructions on the procedure to run a litmus test has been provided below:
Navigate to the appropriate test folder containing the litmusbook
Update the placeholder values of the application, storage provider, infrastructure & use case specific ENV to the ansible-runner container
- Note: Each litmusbook has a common set of test inputs that it shares with other tests (mostly, app info) and another set of inputs specific to itself. The respective tests contain details/instructions on their significance & example values that can be referred before its execution
[Optional] Update the log-location on the node (on which the litmus pod runs) in the logger spec (MY_POD_HOSTPATH). If the cluster is already configured with standard logging frameworks such as EFK, StackDriver, then this step is not necessary
Execute the litmus test job using the kubectl create command.
kubectl create -f run_litmus_test.yml
The litmus test job typically launch multiple other deployments as part of the test, with the litmus test pod eventually entering ‘Completed’ state.