Skip to content

Commit

Permalink
k6 yaml file for standalone and distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable committed Jul 5, 2024
1 parent 59d3195 commit d444487
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
22 changes: 22 additions & 0 deletions k6_distributed.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: load-test-ing1
spec:
parallelism: 1
runner:
nodeSelector:
kubernetes.io/hostname: benchmarking-rk529
env:
- name: P_URL
value: "http://parseable-ingestor-0.parseable-ingestor-headless.parseable.svc.cluster.local:8000"
- name: P_STREAM
value: "app1"
- name: P_USERNAME
value: "admin"
- name: P_PASSWORD
value: "admin"
script:
configMap:
name: load-test
file: load_batch_events.js
20 changes: 20 additions & 0 deletions k6_standalone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: load-with-500-512-test
spec:
parallelism: 6
runner:
env:
- name: P_URL
value: "http://parseable.parseable.svc.cluster.local:80"
- name: P_STREAM
value: "app1"
- name: P_USERNAME
value: "admin"
- name: P_PASSWORD
value: "admin"
script:
configMap:
name: load-test
file: load_batch_events.js

0 comments on commit d444487

Please sign in to comment.