Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
  • Loading branch information
rsevilla87 committed Oct 30, 2023
1 parent 3f843ac commit 1f0d8b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 92 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OCP Ingress performance ultimate tool!

## Reference

Ingress-perf configuration is defined in a YAML file, holding an array of the following structure. [Examples directory](./config)
Ingress-perf configuration is defined in a YAML file, holding an array of the following structure. [Examples directory](./examples)

| Field Name | Type | Description | Default Value | Tools |
|------------------|------------------|---------------------------------------------------------------------------------------------|---------------|------------------|
Expand Down
60 changes: 11 additions & 49 deletions config/standard.yml → examples/hloader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
duration: 1m
path: /1024.html
concurrency: 1
tool: wrk
tool: hloader
serverReplicas: 90
requestTimeout: 2s
tuningPatch: '{"spec":{"nodePlacement": {"nodeSelector": {"matchLabels": {"node-role.kubernetes.io/infra": ""}}}, "replicas": 2}}'
requestTimeout: 10s
tuningPatch: '{"spec":{"tuningOptions": {"threadCount": 8}, "nodePlacement": {"nodeSelector": {"matchLabels": {"node-role.kubernetes.io/infra": ""}}}, "replicas": 2}}'
warmup: true

- termination: http
Expand All @@ -19,9 +19,10 @@
duration: 2m
path: /1024.html
concurrency: 1
tool: wrk
tool: hloader
serverReplicas: 90
delay: 10s
requestTimeout: 10s
procs: 2

- termination: edge
Expand All @@ -30,9 +31,10 @@
duration: 2m
path: /1024.html
concurrency: 1
tool: wrk
tool: hloader
serverReplicas: 90
delay: 10s
requestTimeout: 10s
procs: 2

- termination: reencrypt
Expand All @@ -41,9 +43,10 @@
duration: 2m
path: /1024.html
concurrency: 1
tool: wrk
tool: hloader
serverReplicas: 90
delay: 10s
requestTimeout: 10s
procs: 2

- termination: passthrough
Expand All @@ -52,49 +55,8 @@
duration: 2m
path: /1024.html
concurrency: 1
tool: wrk
tool: hloader
serverReplicas: 90
delay: 10s
requestTimeout: 10s
procs: 2

- termination: http
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s

- termination: edge
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s

- termination: reencrypt
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s

- termination: passthrough
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s


42 changes: 0 additions & 42 deletions examples/standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,45 +56,3 @@
serverReplicas: 90
delay: 10s
procs: 2

- termination: http
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s

- termination: edge
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s

- termination: reencrypt
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s

- termination: passthrough
connections: 200
samples: 2
duration: 2m
path: /1024.html
concurrency: 20
tool: wrk
serverReplicas: 90
delay: 10s


0 comments on commit 1f0d8b0

Please sign in to comment.