diff --git a/k6/README.md b/k6/README.md index 3b6827cd..420b01b3 100644 --- a/k6/README.md +++ b/k6/README.md @@ -61,16 +61,20 @@ This will create the image and host it. Each time you change the test code of co Next create the k6-config file in the namespace from which you want to run the tests: ``` -oc create -n configmap k6-config --from-file=./src/config/config.json +make config NAMESPACE="" ``` Lastly deploy the config from the `sso-keycloak/k6/k6-runner/openshift/k6` directory. ``` -oc -n process -f dc.yaml | oc -n apply -f - +make run_job NAMESPACE="" ``` Be sure to delete the job when done to prevent the load test from re-running in the cluster. +``` +make delete NAMESPACE="" +``` + #### Running the test locally without docker. The tests can also be run without docker, by running: