From d4444873d9812c849b66b3730c07d1fe22bedcc8 Mon Sep 17 00:00:00 2001 From: Nikhil Sinha Date: Fri, 5 Jul 2024 15:04:18 +0530 Subject: [PATCH] k6 yaml file for standalone and distributed --- k6_distributed.yaml | 22 ++++++++++++++++++++++ k6_standalone.yaml | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 k6_distributed.yaml create mode 100644 k6_standalone.yaml diff --git a/k6_distributed.yaml b/k6_distributed.yaml new file mode 100644 index 0000000..0602c1b --- /dev/null +++ b/k6_distributed.yaml @@ -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 \ No newline at end of file diff --git a/k6_standalone.yaml b/k6_standalone.yaml new file mode 100644 index 0000000..eb5564e --- /dev/null +++ b/k6_standalone.yaml @@ -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