Skip to content

Commit

Permalink
Remove ENGINE, add BASELINE_UUID and COMPARISON_ALIASES, update README (
Browse files Browse the repository at this point in the history
  • Loading branch information
qiliRedHat authored Jun 8, 2022
1 parent 72545ec commit 660ab3d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ pipeline {
string(name: 'SMALL_SCALE_ROUTES', defaultValue: '100', description:'Number of routes of each termination to create in the small scale scenario')
string(name: 'SMALL_SCALE_CLIENTS', defaultValue: '1 40 200', description: 'Threads/route to use in the small scale scenario')
string(name: 'SMALL_SCALE_CLIENTS_MIX', defaultValue: '1 20 80', description: 'Threads/route to use in the small scale scenario with mix termination')
string(name: 'ENGINE', defaultValue: 'local', description: 'leave it as local for execution in jenkins, other options are docker or podman but will not work if the jenkins slave does not have those programs installed')
string(name: 'BASELINE_UUID', defaultValue:'', description: 'Baseline UUID used for comparison')
string(name: 'COMPARISON_ALIASES', defaultValue:'',description: 'Benchmark-comparison aliases, e.g. 4.10.z 4.11.0-0.nightly-xxxx')
text(name: 'ENV_VARS', defaultValue: '', description:'''<p>
Enter list of additional (optional) Env Vars you'd want to pass to the script, one pair on each line. <br>
e.g.<br>
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
# E2E Benchmarking CI Repo - Router Perf Tests


## Purpose

Run Router Perf Tests workload on a given OpenShift cluster. OpenShift cluster `kubeconfig` is fetched from given flexy job id.

## Parameters
For the meaning of the parameters, please refer to [router-perf-v2](https://github.com/cloud-bulldozer/e2e-benchmarking/blob/master/workloads/router-perf-v2/README.md)

BASELINE_UUID: Baseline UUID used for comparison. A comparsion result of this run and the Baseline will be written into a google sheet. If not provided, the data of only this run will be written into a google sheet.

COMPARISON_ALIASES: Benchmark-comparison aliases (UUIDs will be replaced by these aliase). If you want to keep the UUIDs in the google sheet for future reference, don't use COMPARISON_ALIASES.

### Scaling and Adding Infra/Workload Nodes
These use the Jenkinsfile defined on [cluster-worker-scaling](https://github.com/openshift-qe/ocp-qe-perfscale-ci/tree/cluster-workers-scaling) branch.

SCALE_UP: to scale the worker nodes on your cluster up to that number. This takes into account the current number of workers and splits the workers between the machinesets

SCALE_DOWN: scale down the cluster to a certain number of workers after the workload is completed

INFRA_WORKLOAD_INSTALL: to install infrastructure and workload nodes to a cluster. This will move promethues and ingress pods to those machines to allow the worker nodes to only run the workload under test. But [router-perf-v2](https://github.com/cloud-bulldozer/e2e-benchmarking/blob/master/workloads/router-perf-v2/README.md) will move the promethues pods back to worker nodes to avoid them impacting the router pods.

### Contacts
Qiujie Li <@qiliRedHat on Github>
Expand Down

0 comments on commit 660ab3d

Please sign in to comment.