Skip to content

Commit

Permalink
ignore ocp warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewh1978 committed Dec 7, 2023
1 parent 3d46666 commit 7bef653
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ cd image
docker build -t px-bench .
docker push ...
```
* Create a namespace for your benchmarking, and set your context to it (or ensure that you are applying all YAML below to that namespace)
* TBD: Create a wrapper script that will create the namespace and apply all YAML in order and with correct timing!
* Create the px-bench namespace with `kubectl create ns px-bench`
* Edit `px-bench-env.yml` to set the ConfigMap `env` to set desired values. If necessary, update `image:` to reflect the image you built. NOTE: SET YOUR STORAGECLASSES IN THIS FILE!
* Do NOT edit `px-bench-main.yml` (unless you are attempting to change the behavior of the benchmark!)
* In order to consume most of the available RAM so it is not used for buffering, run `kubectl apply -f chewram.yml`.
* Wait for `kubectl -n px-bench get pod -n chewram` for all the pods to show as `1/1 Running`.
* `kubectl apply -f px-bench-env.yml` to apply the configuration settings.
* `kubectl apply -f px-bench-main.yml` to start the run.
* `kubectl apply -f px-bench-main.yml` to start the run (ignore the runAsNonRoot warning if on Openshift).
* Monitor progress with `kubectl logs -n px-bench -l px-bench=fio -f`. With the defaults, runtime is expected to be around 15 minutes.
* Wait for `kubectl get pod -n px-bench` for all the pods to show as Completed.

Expand All @@ -28,4 +29,4 @@ To retrieve the output for processing, run `kubectl get cm csv -n px-bench -o js

Click the Extensions menu and select "Apps Script". Click Run. This should create a number of new sheets populated with some bar charts.

When complete, to clean up, you can either remove the jobs, pods and PVCs from the namespace, or delete the namespace entirely.
When complete, to clean up, you can either remove the jobs, pods and PVCs from the namespace, or delete the namespace entirely.

0 comments on commit 7bef653

Please sign in to comment.