The Gatling exit status was getting overwritten by another command running after Gatling's process finished. This PR ensure the GATLING_EXIT_STATUS is returned. This exposed another issue where Kubernetes re-runs failed jobs. In this case, we actually don't want failed jobs to re-run. In order to fix this, I set the BackoffLimit to 0 so the pods won't get recreated.
Description
The Gatling exit status was getting overwritten by another command running after Gatling's process finished. This PR ensure the GATLING_EXIT_STATUS is returned. This exposed another issue where Kubernetes re-runs failed jobs. In this case, we actually don't want failed jobs to re-run. In order to fix this, I set the
BackoffLimit
to 0 so the pods won't get recreated.Resolves #81