Skip to content

Commit

Permalink
chore: add readme change
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Jul 8, 2024
1 parent c80c335 commit 3657073
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions k6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NAMESPACE> configmap k6-config --from-file=./src/config/config.json
make config NAMESPACE="<NAMESPACE>"
```

Lastly deploy the config from the `sso-keycloak/k6/k6-runner/openshift/k6` directory.
```
oc -n <NAMESPACE> process -f dc.yaml | oc -n <NAMESPACE> apply -f -
make run_job NAMESPACE="<NAMESPACE>"
```

Be sure to delete the job when done to prevent the load test from re-running in the cluster.

```
make delete NAMESPACE="<NAMESPACE>"
```

#### Running the test locally without docker.

The tests can also be run without docker, by running:
Expand Down

0 comments on commit 3657073

Please sign in to comment.